Python drucken
#this is how to print
print("I am getting printed")
Clear Caracal
#this is how to print
print("I am getting printed")
# How to print in Python
print("Hello World!")
# How to print multiple words using comma separator
print("Hi", "there")
# How to separate the objects if there is more than one.
print("Chelsea","Liverpool", sep="-vs-")
#Specify what to print at the end. Default is '\n'
print("Hello World",end="!")
# or use empty string "" for no new line
print("Hello World",end="")
#for print statements :
print(12345677890) # Integers
print(1234.567890) # Floats
print("hello") # Strings
or
print('hello')
print(False) # Boolean
#Without variable
print('hello guys')
#With Variable
text = 'hello guys'
print(text)
print("print")
# type python on your command prompt and
# python sheel should appear, type
print("Ulala")
# to be better at python, practice cmd with python