xxxxxxxxxx
# Prints a text on the Terminal.
print("Hello World!")
>>> Hello World!
# Can also print digits and symblos.
print("123")
>>> 123
print("%@#$645")
>>> %@#$645
xxxxxxxxxx
def i_will_print_with_a_diffrent_function(x):
print(x)
i_will_print_with_a_diffrent_function("my name")
xxxxxxxxxx
# the print commmand will write anything in your out put box
print("hello world")
xxxxxxxxxx
words = 'Hello', 'World', 'Python', 'makes', 'life', 'easier'
print(*words, sep='\n')
xxxxxxxxxx
# hello world
print("hello world")
#usage of sep()
print(10,1,2001,sep="/")
#usage of end()
l = ["d","x","4","i","o","t"]
for i in l:
print(i,end="")