1/12
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
what is a binary code
fundamental language of computers represented by “bits” that correspond to on or off. represented in data instructions such as 0 and 1.
order of arithmetic operations in python
pemdas (paranthesis, exponents, mulitplication/division, addition/subtration)
what is a python interpretor
the core program that translates and executes the code you write
what is a python compiler
an internal component that translates human-readable source code (py.files) into a lower-level format such as byte-code
what is a sequence of ascii characters
a set of 7-bit numerical codes
what is true about tuples?
tuples can use the + operator meaning concatenation
tuples are immutable and cannot be changed when formed
the phrase tuple() can be used to produce an empty tuple
items method
returns a tuple in a (key,value) pair
a code written in a high-level programming language is called
a source code
“for x in dictionary” automatically iterates overs
the keys of a dictionary
to access the values of a dictionary
.values()
input values in python are automatically
strings
to retrive and assign a value in a dictionary
ex: charge = pizza[“Margherita Pizza”]
0 for i in range(3) prints what
[0,0,0]