SlideShare a Scribd company logo
Programming Adding Interupts
MAKING A PROGRAM THAT IS LONGER THAN A LINE
On the Python
Shell go to “File”
and then “New
Window”. This will
bring up a blank
page.
MAKING A PROGRAM WITH AN INPUT
In the blank window that opens type in the following.
print("Hello")
print("My name is Python")
input("Please press enter to exit")
RUNNING YOUR PROGRAM
To run your program press F5 on the
keyboard, you will then see the following
Click OK you may see the following click OK on this and then you can
save the file in your folders, once you have done this your file will run
in the shell..
WHAT OUTPUT SHOULD YOU SEE
If you press the
enter key the
program will
end and you
have
successfully set
up an input in
your program.

More Related Content

PPTX
Programming Variables
PPTX
Programming Hello World
DOCX
Wml step by step
DOC
PPTX
Steps to Fix “Something Happened” Error Message in Windows 10 Upgrade
PPTX
Windows 11
PDF
CCleaner Installation and Operation
DOCX
Tricks to hack notepad
Programming Variables
Programming Hello World
Wml step by step
Steps to Fix “Something Happened” Error Message in Windows 10 Upgrade
Windows 11
CCleaner Installation and Operation
Tricks to hack notepad

What's hot (11)

TXT
Cara flashing axioo
DOC
PDF
Fix Google Chrome Crashes
PPTX
04 09-2018--clone vm
PDF
Instalasi firefox di komputer
DOCX
Slide Share
PDF
Hot Potatoes Add Audio
PDF
Hot Potatoes Cloze Text Entry
ODP
ClusterDesktop how-to use the site
PPTX
How do I update the crawford slackware box so that it is running the most up ...
PPT
My First Android Application
Cara flashing axioo
Fix Google Chrome Crashes
04 09-2018--clone vm
Instalasi firefox di komputer
Slide Share
Hot Potatoes Add Audio
Hot Potatoes Cloze Text Entry
ClusterDesktop how-to use the site
How do I update the crawford slackware box so that it is running the most up ...
My First Android Application
Ad

Viewers also liked (11)

PPTX
Programming Challenge
PPTX
Add behaviours lesson2
PPTX
Lesson 4 Part 1
PPTX
Photoshop Lesson 4
PPTX
Photoshop Lesson 6
PPTX
Photoshop lesson 2
PPTX
Photoshop Lesson 7
PPTX
Photoshop Lesson 5
PPTX
Photoshop Lesson 3
PPT
Part 5 – animating your character
PPTX
Photoshop lesson 1
Programming Challenge
Add behaviours lesson2
Lesson 4 Part 1
Photoshop Lesson 4
Photoshop Lesson 6
Photoshop lesson 2
Photoshop Lesson 7
Photoshop Lesson 5
Photoshop Lesson 3
Part 5 – animating your character
Photoshop lesson 1
Ad

More from Andrew Willetts (20)

PPTX
Photoshop tutorial 6 desaturisation
PPTX
Photoshop tutorial 5 clipping masks
PPTX
Photoshop tutorial 4 spot healing tool
PPTX
Photoshop tutorial 3 stamp tool
PPTX
Year 8 python part 1 - debugging
PPTX
Year 8 python part 1 - debugging
PPTX
Year 7 e-safety part 2
PPTX
Year 7 e-safety part 1
PPTX
Photoshop tutorial 2 rubber and quick select tools
PPTX
Photoshop tutorial 1 setting up the canvas
PPTX
03 outputs
PPTX
PPTX
Computer Devices - What Are they?
PPTX
Data Flow Diagrams
PPTX
Databases dfd
PPT
Data flow diagrams
PPTX
Alice part 2 – background objects
PPTX
Alice part 1 – getting started Update
PPTX
Alice part 3 – adding text
PPTX
Alice part 1 – getting started
Photoshop tutorial 6 desaturisation
Photoshop tutorial 5 clipping masks
Photoshop tutorial 4 spot healing tool
Photoshop tutorial 3 stamp tool
Year 8 python part 1 - debugging
Year 8 python part 1 - debugging
Year 7 e-safety part 2
Year 7 e-safety part 1
Photoshop tutorial 2 rubber and quick select tools
Photoshop tutorial 1 setting up the canvas
03 outputs
Computer Devices - What Are they?
Data Flow Diagrams
Databases dfd
Data flow diagrams
Alice part 2 – background objects
Alice part 1 – getting started Update
Alice part 3 – adding text
Alice part 1 – getting started

Recently uploaded (20)

PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Presentation on HIE in infants and its manifestations
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
master seminar digital applications in india
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Anesthesia in Laparoscopic Surgery in India
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
human mycosis Human fungal infections are called human mycosis..pptx
Presentation on HIE in infants and its manifestations
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
GDM (1) (1).pptx small presentation for students
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Module 4: Burden of Disease Tutorial Slides S2 2025
O5-L3 Freight Transport Ops (International) V1.pdf
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
Microbial disease of the cardiovascular and lymphatic systems
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
master seminar digital applications in india
Pharmacology of Heart Failure /Pharmacotherapy of CHF
102 student loan defaulters named and shamed – Is someone you know on the list?
Supply Chain Operations Speaking Notes -ICLT Program
Anesthesia in Laparoscopic Surgery in India

Programming Adding Interupts

  • 2. MAKING A PROGRAM THAT IS LONGER THAN A LINE On the Python Shell go to “File” and then “New Window”. This will bring up a blank page.
  • 3. MAKING A PROGRAM WITH AN INPUT In the blank window that opens type in the following. print("Hello") print("My name is Python") input("Please press enter to exit")
  • 4. RUNNING YOUR PROGRAM To run your program press F5 on the keyboard, you will then see the following Click OK you may see the following click OK on this and then you can save the file in your folders, once you have done this your file will run in the shell..
  • 5. WHAT OUTPUT SHOULD YOU SEE If you press the enter key the program will end and you have successfully set up an input in your program.