write the Python program to accept name from the user and display it 10 times on the screen
Answers
Answered by
1
name = input('Enter your name: ')
print((name + ' ') * 10)
Answered by
0
Answer:
name = input("What's your name??")
print(10 * (name + '\n'))
Explanation:
name = input("What's your name?? ")
print(10 * name )
#using loop
name = input("What's your name??")
print(*(name for i in range(10)), sep='\n')
Similar questions
Biology,
2 months ago
Math,
2 months ago
Math,
5 months ago
Political Science,
5 months ago
World Languages,
11 months ago