What is the output of the following code? def printLn(text): print(text, 'is awesome.') printLine('Python') code example
Example 1: how to print in python
#('') a string, to indicate it is a string you can use ("") or ('')
print("hello world")
#a integer
print(19)
# a float:
print(4.5)
# a bool:
print (True)
print (False)
Example 2: how do you add a print statement in python
print("What you would like to print") ## or
variable_name = "string"
print(variable_name)