Hardware Reference
In-Depth Information
Chapter
2
Introductory Software Project:
The Insult Generator
by Dr. Andrew Robinson
In This Chapter
❍
Writing and running your irst Python program
❍
Storing data to variables
❍
Holding text in strings
❍
Printing messages on the screen
❍
Creating functions
❍
Getting input from the user
❍
Conditional behaviour with
if
statements
❍
Repetition with loops