y /= 3
Give this one a try later!
y= y/3
==
Give this one a try later!
equal to
grades = [87, 93, 75, 100, 82, 91, 85]
print(grades[0], grades[6])
,Give this one a try later!
87 85
what do the different file designators mean:
r:
w:
a:
r+:
Give this one a try later!
•reading (we will read data from the existing file)
•writing (we will write data to a new file)
•appending (we will append data to an existing file)
•will read from AND write to the file
what are examples of a mutable data type?
Give this one a try later!
lists, dictionaries
sum = 0
for i in range(10):
sum += i+1
print(sum)
Give this one a try later!
, 55
how is turtle motion similar in behavior to robotic controls?
Give this one a try later!
just like we combine turtle motions to make more complex shapes, we can
combine robot motions to create more complex actions
when to use if-elif-else statements?
Give this one a try later!
when you have multiple "cases" of the same type
format for string splitting
Give this one a try later!
<list variable> = <string variable>.split(<thing to split on>)
examples of built-in functions
Give this one a try later!
Give this one a try later!
y= y/3
==
Give this one a try later!
equal to
grades = [87, 93, 75, 100, 82, 91, 85]
print(grades[0], grades[6])
,Give this one a try later!
87 85
what do the different file designators mean:
r:
w:
a:
r+:
Give this one a try later!
•reading (we will read data from the existing file)
•writing (we will write data to a new file)
•appending (we will append data to an existing file)
•will read from AND write to the file
what are examples of a mutable data type?
Give this one a try later!
lists, dictionaries
sum = 0
for i in range(10):
sum += i+1
print(sum)
Give this one a try later!
, 55
how is turtle motion similar in behavior to robotic controls?
Give this one a try later!
just like we combine turtle motions to make more complex shapes, we can
combine robot motions to create more complex actions
when to use if-elif-else statements?
Give this one a try later!
when you have multiple "cases" of the same type
format for string splitting
Give this one a try later!
<list variable> = <string variable>.split(<thing to split on>)
examples of built-in functions
Give this one a try later!