Skip to content

Instantly share code, notes, and snippets.

@wakoliVotes
Last active February 20, 2022 05:17
Show Gist options
  • Save wakoliVotes/3f1750a5f4c06f43e8c4f4654213e036 to your computer and use it in GitHub Desktop.
Save wakoliVotes/3f1750a5f4c06f43e8c4f4654213e036 to your computer and use it in GitHub Desktop.
# 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