By default python prints \n after each print statement.

for i in range(25,33,1):

Β  print(i)

Output:Β 

25

26

25

...

32

Specify end to print as you like (example space between instead of \n)

for i in range(25,33,1):

Β  Β print(i, end=" ")

Output: Β 25 26 27 28 29 30 31 32