Computer Science, asked by agamdeepsingh0208, 1 day ago

Write a program to take user input to display the name, age and contact no. of a person.

pls really fast​

Answers

Answered by sangeetseth626
2

Answer:

Explanation:

n = input("Enter name of student: ")

c = int(input("Enter class of student: "))

a = int(input("Enter age of student: "))

print("Name:", n, "Class:", c, "Age:", a)

print()

print()

print("Name:", n)

print("Class:", c)

print("Age:", a)

OUTPUT

Enter name of student: Kavya

Enter class of student: 11

Enter age of student: 17

Name: Kavya Class: 11 Age: 17

Name: Kavya

Class: 11

Age: 17

Similar questions