Computer Science, asked by shrishtikesharwani34, 4 days ago

write a program in python to display the name and age of a user class 6​

Answers

Answered by ItzSavageGirlIsha
1

Explanation:

In Python, we can get user input like this: name = input("Enter your name: ") print("Hello", name + "!")

it's Isha

Answered by sandipsagare8588
0

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