how to collect printed strings in 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: python printing
Print("Hello") Print("World") #Output: Hello World!
print(5+5) # Output:10
x=10
y=11
print(x+y) #Output: 21