end
EXAMPLE:
for i in range(0, 100):
print(i, end=" ")
NEW LINE :
#new line
for i in range(0, 100):
print(i, end="\n")
TAB INDENT:
#tab indent
for i in range(0, 100):
print(i, end="\t")
VERTICAL TAB:
#vertical tab
for i in range(0, 100):
print(i, end="\v")
sep
print("If you put ", "\033[33m", "nothing as the ", "\033[35m", "end character ", "\033[32m", "then you don't ", "\033[0m", "get odd gaps ", sep="")
EXAMPLE
import os, time
print('\033[?25l', end="")
for i in range(1, 101):
print(i)
time.sleep(0.2)
os.system("clear")
Comments
Post a Comment