input your name age and roll number and print in different lines
Answers
Answered by
2
Question:-
Write a program to input your name, age and roll number and print them.
Code:-
Here is your code written in python.
name=input("Enter your name: ")
age=int(input("Enter your age: "))
roll=int(input("Enter your roll: "))
print("Your name is: ",name)
print("Your age is: ",age)
print("Your roll is: ",roll)
Similar questions
Math,
3 months ago
Science,
3 months ago
English,
3 months ago
Math,
8 months ago
CBSE BOARD X,
8 months ago
Geography,
1 year ago
Political Science,
1 year ago