Question: python Problem 3 (Taking User Input) Write a function called userGuess(n) that takes an integer n as an argument. This function should display n to
Problem 3 (Taking User Input) Write a function called userGuess(n) that takes an integer n as an argument. This function should display n to the user and prompt them to enter the number num that is the largest power of 2 less than or equal to n. Have your function return the user's input num (it will be used in the next problem)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
