Exercises

Exercise 1:

Hello World in Python

Write a program in Python which prints the message "Hello World" on the screen of the computer.


The First Method
Code:

print("Hello World!")


Run:
    ================= RESTART: C:\Hello World 1.py ================
    Hello World!
>>>

The Second Method
Code:

print('Hello World!')


Run:
    ================= RESTART: C:\Hello World 2.py ================
    Hello World!
>>>