Computer Science, asked by galaxy19, 4 months ago

Question 10:- Write a program to display details entered by a user, i.e. name, age, gender and height.

Answers

Answered by 0RPS0
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