class Programmer(object):
def __init__(self, name, major, interests):
self.name = name
self.major = major
self.interests = interests
def greet(self):
print("Hello! Welcome to my profile.")
me = Programmer(
name = "Rithik",
major = "Data Science",
interests = ["Piano", "Cooking", "RPGs"]
)
me.greet()
Pinned Loading
-
algo-chess
algo-chess PublicA simple wagering application built around chess and its variants.
JavaScript 2
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.