This example is about how to display message on the window screen. In order to print or display message on the window we need to use print ( ) function.
Below is a simple Python Program that display “I have wrote my first program” on screen.
#___________Printing message to screen ____________ print("I have wrote my first program in Python")
Running the program
$ python hello.py I have wrote my first program in Python
When you run the above program it will print out the message we just wrote
The message you want to display must be surrounded with single quote ‘ ‘ or double quotes ” ”