+ 1
Skipped line in exmaple code.
i = 0 while True: i = i +1 if i == 2: print("Skipping 2") continue if i == 5: print("Breaking") break print(i) print("Finished") The line between print(i) and print("Finished"). How do I make that empty space.
3 odpowiedzi
0
\n makes a new line. maybe that would work?
0
print(i\nFinished)
0
print('\n\"Finished\"') gets you"Finished" on 2nd line.
print('\nFinished') should get you Finished on 2nd line?