python-by-example-150-chall.../challenges35-44/challenge-038.py

7 lines
170 B
Python
Raw Permalink Normal View History

2019-07-17 14:56:46 +08:00
name = str(input('Enter your name : '))
number = int(input('Enter repeat number : '))
for i in range(0, number):
for j in name:
print(j+'\n')
print(name)