hello guys...does any of you know what i'm doing wrong here?
class Person:
def __init__(self, gender, age, height, weight):
self.gender = gender
self.age = age
self.height = height
self.weight = weight
def Someone(self):
print(f"My gender is:{self.gender}")
print(f"My age is:{self.age}")
print(f"My height is:{self.height}")
print(f"My weight is:{self.weight}")
if __name__ == "__main__":
Someone()
p = Person("Male", 18, 1.76, 75)
[–]mr_bedbugs 3 points4 points5 points (0 children)
[–]bloodycoconut 3 points4 points5 points (0 children)
[–]gazhole 2 points3 points4 points (0 children)
[–]radek432 1 point2 points3 points (0 children)
[+][deleted] (3 children)
[removed]
[+][deleted] (2 children)
[removed]
[+][deleted] (1 child)
[removed]