+ 3
print on the same line
i have a code that does this for i in range(3): print("#") the output is this: # # # how can i make this the output: ###
2 Antworten
+ 7
for i in range(3):
print("#", end='')
- 1
for i in range(0, 3) :
print ("#", end=" ")