I want to print a character or string like '-' n number of times.
Can I do it without using a loop?.. Is there a function like
print('-',3)
..which would mean printing the -
3 times, like this:
---
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…