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
History,
2 months ago
Math,
2 months ago
Computer Science,
5 months ago
Math,
5 months ago
Chemistry,
11 months ago
Political Science,
11 months ago