+ 1
Can u guys help me again ? Please :) I ought to know what is the answer
class Human: def __init__(self,name,age,height,weight): self.name = name self.age = age self.height = height self.weight = weight def name(self): print ("My Name is " + self.name) def age(self): print ("I am " + self.age + " years old") def height(self): print ("I am " + self.height + " tall") def weight(self): print ("My body weight is " + self.weight) def introduce(self): ...... while True : introduce(self) Abraham = Human("Abraham","15","173 cm","82 kg")
1 ответ
0
The ...... part , which is missing , is the one that i want to ask , and i hope that the missing part do these actions :
input("What is your name ? ")
And if i do like this :
What is your name ? Abraham
My name is Abraham
I am 15 years old
I am 173 cm tall
My body weight is 82 kg
Again , thank you ☺