Last active
February 20, 2022 05:17
-
-
Save wakoliVotes/3f1750a5f4c06f43e8c4f4654213e036 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create the Class | |
class founderInfo: | |
def __init__(self, firstName, secondName, age, annualSalary, status): | |
self.firstName = firstName | |
self.secondName = secondName | |
self.age = age | |
self.annualSalary = annualSalary | |
self.status = status | |
# Object Instantiation | |
user_info = founderInfo("Kingsman", "Wilkes", 23, 2500000, "founder") | |
print(f"I am {user_info.firstName} {user_info.secondName}, Aged {user_info.age}") | |
print(f"I am the {user_info.status} of BlueKings Corp. with $ {user_info.annualSalary} Annually.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment