Python Lists and Loops Partner Practice
Lists and Loops Partner Practice
Add Ten and Divide By Two:
some_numbers =[2, 52, 19, 46, 1000]
Use a loop to add ten to each number and then divide it by two and print this new number to the screen.
Reverse Presidents:
presidents = ["George Washington", "John Adams", "Thomas Jefferson", "James Madison", "James Monroe", "John Quincy Adams"]
Use a loop to print out a string with the name reversed for each of the presidents in the presidents list.
10 Bottles of Milk on the Wall
Create an list with the numbers 10 down to 0. Using a loop, for every number print the string “___ bottles of milk on the wall”, filling in the blank with the number in your list.