Cetak di Python
print("the sentence you want to print")
Expensive Emu
print("the sentence you want to print")
print("this is a print function, what ever you write inside this , it will display in output ")
#Print
#Put a value
print('This is a print func')
print("You can print whatever you like and it'll be shown in the output")
print("Hey! How are you doing?")
## formatted string literal
answer = "Well!"
print(f"Hey! How are you doing? {answer}")
# This prints out the value provided by the user
print("Hello World\n")
# 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="")
a = 5
print('The value of a is', a)
# the print commmand will write anything in your out put box
print("hello world")
print("wathever you want!")