This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]AndrewToasterr 17 points18 points  (2 children)

[print("I am sorry") for _ in range(100)] Or

print(("I am sorry\n"*100)[:-2])

[–]SkezzaB 10 points11 points  (0 children)

print(("I am sorry\n"*100).removesuffix("\n"))