likes = 9999 #All ways to print in console in python
print(f"A like if you love learning python with grepper. Likes:{likes}")
#or
print("A like if you love learning python with grepper. Likes:" + likes)
#or
print("A like if you love learning python with grepper. Likes:", likes)
print("What you would like to print")
#for print statements :
print(12345677890) # Integers
print(1234.567890) # Floats
print("hello") # Strings
or
print('hello')
print(False) # Boolean
print("print")
print "Hello"
print "Hello", "world" Separates the two words with a space.
print "Hello", 34. Prints elements of various data types, separating them by a space.
print "Hello " + 34. ...
print "Hello " + str(34) ...
print "Hello", ...
sys.stdout.write("Hello") ...
sys.stdout.write("Hello
")
# type python on your command prompt and
# python sheel should appear, type
print("Ulala")
# to be better at python, practice cmd with python
# Script Begins
print("anything")
# Scripts Ends
print("Hello World")
Hello World!
// Print String
print("Hello")
// Print Integer
print(123)