Write a python programme to find name, age, class
Answers
Answered by
0
Answer:
Hey mate,
here is your answer
Write a simple Python program that asks a user to input their age and name and then return the text: "Hi my name is *NAME*, and I am *AGE* years old." age = input("Enter age: ")name = input("Enter name: ")print("Hi, my name is " + name + ", and I am " + age + " years old.")
Answered by
0
Answer:
def personal_details():
name, age = "brainly", 25
address = "Mumbai, Maharashtra, India"
print("Name: {}\nAge: {}\nAddress: {}".format(name, age, address))
personal_details()
Similar questions