from datetime import datetime
class ComputerScienceStudent:
def __init__(self):
self.name = 'Leon Burghardt'
self.age = datetime.now().year - 2004
self.complexity = 'O(n!)'
self.role = 'Computer Science student'
self.langs_spoken = ['de_DE', 'en_US']
def introducing_myself(self):
for attribute, value in vars(self).items():
print(f"{attribute}: {value}")
if __name__ == "__main__":
i_am = ComputerScienceStudent()
i_am.introducing_myself()
tr3xxx Goto Github PK
Name: Leon Burghardt
Type: User
Company: @tudortmund
Bio: Computer Science student
Twitter: tr3xx_
Location: Germany
Blog: https://tr3x.xyz