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
Hindi,
1 month ago
Business Studies,
1 month ago
History,
1 month ago
Math,
3 months ago
Political Science,
3 months ago
World Languages,
8 months ago