Each of the following questions is worth 4 points.
a statement
anything that can be turned into a value
7 // 2
3
7 % 2
1
**
True and False
not False
True
True and False
False
True or False
True
Control C
while
loop with the following header ever stop?
while True:
no
built-in functions
a local variable
no
from the corresponding argument in the function call
if score >= 90:
print("A")
elif score >= 80:
print("B")
elif score >= 70:
print("C")
elif score >= 60:
print("D")
else:
print("F")
while
loop that prints the numbers 5, 10, 15,
each on a separate line. range
function here. while
loop. num = 5
while num < 15:
print(num)
num += 5
for
loop that prints the odd numbers from 1
to 15. range
function
with 3 arguments. for num in range(1, 16, 2):
print(num)
if
statement which
prints the letter grade for each range of scores according to the following table
A >= 90 B >= 80 C >= 70 D >= 60 F < 60