0% found this document useful (0 votes)
4 views

1.Using Python IDLE

The document provides a step-by-step guide on how to write and execute a simple 'Hello World' program using Python. It includes instructions for opening Python, creating a new file, writing code, and running the program. The guide emphasizes the traditional practice of starting with a 'Hello World' program for new programmers.

Uploaded by

zkhostwal
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

1.Using Python IDLE

The document provides a step-by-step guide on how to write and execute a simple 'Hello World' program using Python. It includes instructions for opening Python, creating a new file, writing code, and running the program. The guide emphasizes the traditional practice of starting with a 'Hello World' program for new programmers.

Uploaded by

zkhostwal
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 17

Computer Science

Programming Outputs

print (“Hello
World!”)
Computer Science

Open Python – Start menu


 Click on:
- Start Menu
- All Programs
- Python 3.7
- IDLE
Computer Science

Open Python – Desktop


On the
desktop you
will see this
icon

DOUBLE
CLICK IT Looks like this
one above
Computer Science

This will open the Python


Interpreter (Shell)
Python
Version
Number

Command
Line

Output
Computer Science

Your First Program!


Its traditional for all
programmers, whether novice
or professional, to write a
“Hello World” program first.
print (“Hello World!”)
Computer Science

Complete the following


steps to create your first
program

Step 1: Open
python
Computer Science

Step 2 – Put the shell on


the right hand side
Computer Science

Step 3 – Click File – New


File
Computer Science

Step 4 – This new window


will appear called
“Untitled”
Computer Science

Step 5 – Put it on the


left hand side
Computer Science

Step 6 – You will write


your code on the left
hand side
Computer Science

Now we need to
execute or run
our code to see
if it works!
Computer Science

Step 7 – Click run – Run


Module
Computer Science

Step 8 – When this window


appears click “OK”
Computer Science

Step 9 – When this second window


appears click “OK” again
Computer Science

Step 10 – Save your file in the


H:Drive (Call it something
useful!)
Computer Science
Step 11 – RESULT! See if your code works by
looking at the shell on the right hand side

You might also like