Intro to Python
programming language
a language to write a program
loop
a way to tell the computer to repeat something again and again
character
any one thing you can type (ex. the letter 'c')
String
bunch of characters
len()
calculates number of characters in a string
immutable
cannot be modified (ex. strings)
del
delete statement for a list element
program
detailed set of instructions telling the computer what to do
print("word")
displays whatever is inside quotation marks to the screen
type-safe
don't need to first declare what data type your variable will be
slicing
extract certain elements from a list or tuple and place them into another list/tuple
tuple
immutable collection of elements
variable
label to store some data (information)
error
mistake in your code
%
modulus: finds the remainder
list
mutable collection of elements
dictionary
mutable container of key-value pairs (immutable objects)
int
number
indexing
numbering each element in a collection or each character in a string
%s
placeholder in Python
Python
programming language used to do lots of things like build websites, program robots, and design games
>>>
prompt. shows that computer is waiting for you to give it instructions
concatenation
string addition
indentation
tab spacing to separate blocks of code
boolean
true or false
identifier
variable name