write a python program to print your name and age
Answers
Answered by
3
Write a Python program to display your details like name, age,
def personal_details():
name, age = "Rohit", 25.
address = "Mumbai, Maharashtra, India"
print("Name: {}\nAge: {}\nAddress: {}".
format(name, age, address))
personal_details()
Answered by
3
age = input("Enter Age: ")
name = input("Enter Name: ")
print(age)
print(name)
Similar questions