1. Use the input function to prompt the user for a number. Store the number entered as a float in a variable named num, and then print the contents of num. 2. For each of the following expressions, what value will the expression give? Verify your answers by typing the expressions into Python. a) True and not False b) True or True and False c) not True or not False d) True and not 0 e) 52 < 52.3 f) 1+52<52.3 g) 4 != 4.0 3. Write a function named different that has two parameters, a and b. The function should return True if a and b refer to different values and should return False otherwise. 4. We've now seen two loop types, the first loop and the while loop. Even though their both useful, the for loop doesn't actually add any additional functionality; it's just convenient. Rewrite the following function that sums up the numbers from 1 to n using a while loop. def my_sum(n): total = 0 for i in range(1,n+1): total += i return total