Question: 32. How many times will the following while loop run? i = 0 while (i

32. How many times will the following while loop run? i = 0 while (i <= 5): print(i) i += 1 A. 1 B. 4 C. 5 D. 6 E. An infinite number 33. Which function enables a user to provide information to the program? A. enter() B. input() C. return() D. print() E. query() 34. Which is NOT a built-in function in Python? A. input() B. int() C. len() D. print() E. query() 35. What will print from running the following code if the user enters 3 and 6? def product(factor1, factor2): product = int(factor1)*int(factor2) print(product) input("Provide a first factor") input("Provide a second factor") A. 0.5 B. 9 C. 18 D. The code will not print anything E. The code will result in an error 36. What will print from running the following code if the user enters 3 and 6? def product(factor1, factor2): product = int(factor1)*int(factor2) print(product) factor1 = input("Provide a first factor") factor2 = input("Provide a second factor") product(factor1, factor2) A. 0.5 B. 9 C. 18 D. The code will not print anything E. The code will result in an error 37. What will print from the following code if the user enters "Josie" followed by 28? def getName(): userName = input("What's your name?") return userName def getAge(): userAge = input("What's your age?") return userAge userName = getName userAge = getAge) print(userName)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!