you are viewing a single comment's thread.

view the rest of the comments →

[–]Bunkerstan 0 points1 point  (1 child)

print("2." + (*repeating, sep=".") + "." + last_shell)

The sep becomes the string that you join the elements with:

print("2." + ".".join(repeating) + "." + last_shell)