IDE (Integrated Development Environment)
Special type of editor used for writing, editing, and saving python programs
Like a word processor but has lots of features to help programmers write and edit programs efficiently
Example = Thonny, IDLE
Advantages of Python
Very concise, a little code can do a lot
Can be used on many different types of computers
“Open Source”, costs nothing to download and distributed all over the Internet
Types of Variables • Integer (int) = • Float (float) = • String (str) = • Boolean (bool) =
Whole Numbers
Decimal Numbers
Text, Collections of Characters
True or False
Modulus
X%Y = remainder in whole numbers after division
ASCII (American Standard Code for Information Interchange)
Contains all upper and lowercase characters, numbers, and most other characters A bit can be either 1 or 0 (8 bits is a byte) The ASCII code for a character usually consists of one byte Example = A is 65 (0100 0001) Function ord () shows ASCII value Uses binary numbers to represent characters, then binary numbers are converted to decimal integers and then assigned to characters
Caesar Shift
Shift letters by a certain amount (e.g., 3)