print hello in python code example
Example 1: how to print hello world in python
print("Hello World!")
Example 2: how to print hello world in python
message = "Hello World"
print(f"{message}")
Example 3: how to print hello in python
#python2
print 'hello'
#python3
print('hello')
Example 4: python how to say hello world
my_string = "Hello, World!"
print(my_string)