+ 1

Help pls

Yards = int(input()) if yards>=2 and yards<=10: for i in range(0,yards): print("Ra!",end="") Question: what does end="" means?

10th Mar 2020, 6:58 AM
Xvitrix
1 Odpowiedź
+ 7
It takes a string, which would be printed last. print("Hello", end="!") #Output: Hello! Because it has a default value of "\n" (newline), you might set it to an empty string if you don't want to print the newline.
10th Mar 2020, 7:07 AM
Seb TheS
Seb TheS - avatar