xxxxxxxxxx
# Script Begins
print("anything")
# Scripts Ends
xxxxxxxxxx
#for print statements :
print(12345677890) # Integers
print(1234.567890) # Floats
print("hello") # Strings
or
print('hello')
print(False) # Boolean
xxxxxxxxxx
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)
xxxxxxxxxx
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\n")
xxxxxxxxxx
# type python on your command prompt and
# python sheel should appear, type
print("Ulala")
# to be better at python, practice cmd with python