2010 04 28 Python Review
2010 04 28 Python Review
Python Review!!
What is the difference between = and ==? Why are both used?
Fill in the blank in the following program to make it so that it prompts the user for their
grade then tells them to study harder if they have below a 75 and congratulates them
otherwise:
Fill in the blanks so that the following code prompts the user until a number between 1 and
10 is selected.
number = _____________________________________
while ( ________________________):
number = _____________("That is not a valid selection.
Please enter a number 1-10.")
def do_that():
print("goo")
do_that()
do_it("hi")