Iteration

Problem 1: Using a while loop write code that will print integers from 1 to 10. Then the do same thing using a for loop instead.

Problem 2: Create a variable: address by assigning the string 'Durham, NC 27708' to it. Using iteration write code that will print out all the vowels in address.

Problem 3: Create a variable: stuff by assigning the list [1,'hi',3,'there',5] to it.

Write an expression that extracts the first, third, and fifth elements in stuff and adds them all together.

Using iteration write code that will print out all the numbers in stuff.