📜  如何在python代码示例中乘以文本

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

代码示例2
text = "Hello World"
times = 3
repeated = text * times
print('Not Repeated: ', text)
print('Repeated: ', repeated)