首页 > 代码库 > 输出多个重复字符或字符串

输出多个重复字符或字符串

print(数量 * 字符或字符串)

#输出空格
print(10 *  )
#重复输出字符
print(10 * a)
#重复输出字符串
print(10 * abc)

 

输出多个重复字符或字符串