Print command in python
Print strings
print ('Hello World')
or
print("Hello World")
Print Integer
a =10
print(a+10)
20

To combine both text and a variable, use + character
x = “karthik”
print(“My name is “ + x)

Print command in python
Print strings
print ('Hello World')
or
print("Hello World")
Print Integer
a =10
print(a+10)
20

To combine both text and a variable, use + character
x = “karthik”
print(“My name is “ + x)
