Question 10:- Write a program to display details entered by a user, i.e. name, age, gender and height.
Answers
Answered by
4
Name = (input('Enter Name:'))
Age = evel(input('Enter Age:'))
Gender = (input('Enter gender:'))
Height = eval(input('Enter Height:'))
print('User Details are not follows: ' )
print('Name: ',Name)
print('Age: ',Age)
print('Gender: ',Gender)
print('Height ',Height)
*Output*
Enter Name: 0RPS0
Enter Age: 17
Enter Gender: M
Enter Height 5.7
User Details are as follows:
Name: 0RPS0
Age: 17
Gender: M
Height: 5.7
Similar questions
Science,
2 months ago
Computer Science,
4 months ago
Math,
4 months ago
Chemistry,
9 months ago
Political Science,
9 months ago