Computer Science, asked by siddiquiimran618, 5 months ago

write the Python program to accept name from the user and display it 10 times on the screen ​

Answers

Answered by HozaifaNazarSiddiqui
1

name = input('Enter your name: ')

print((name + ' ') * 10)

Answered by sukki120599
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