0
Python " relay race" test in beginner course isn't working for me.
https://sololearn.com/compiler-playground/cFzwc7Md10cU/?ref=app
8 ответов
+ 3
you can change the value of sep to an empty string, e.g.:
print("Group 1:\n",g1, sep="")
Or you print g1 in an extra print() on the next line.
+ 5
print() has a separate sep=" ". Look at the expected output: There is no blank space in front of the name lists
+ 3
or use f-string, so you won't invoke the sep.
print(f"Group 1:\n{g1}")