xxxxxxxxxx
# Printing, the basics of Python...
# Btw this is how you print a statement or anything in the terminal/console.
print("your printing statement")
# Above basically makes use of a built-in function called print which just
# shows your writing in the console. You can print variables also using print.
# Very easy to use. Hope I helped. Thanks!
# By Codexel (yea, i changed my username AGAIN...)
xxxxxxxxxx
#a string, to indicate it is a string you can use ("") or ('')
print("hello world")
#a integer
print(19)
# a float:
print(4.5)
xxxxxxxxxx
def i_will_print_with_a_diffrent_function(x):
print(x)
i_will_print_with_a_diffrent_function("my name")
xxxxxxxxxx
print('your strings =', 'hello world')
print('your integers =', 1234)
print('your float =', 12.34 'or' , float(1234))
print('youe boolean =', 1==1,'or' , 1!=1)
xxxxxxxxxx
'''
print()inside the parentheses put a single colon or double colon
'''
# example like this
print("this how you use print statement")
# or like this
print('other way to print in python')