📜  python代码示例中的单词重复

📅  最后修改于: 2022-03-11 14:46:05.992000             🧑  作者: Mango

代码示例2
#repeatition of the object n times
n=int(input('enter the number to be repeated='))
print('hello '*n)

#output:
enter the number to be repeated=
hello .. .....