Write a PYTHON program that first gets integers from user input. The input begins with a threshold value. Then, later subsequent user input values are added to a list until -1 is entered. Finally, output all integers less than or equal to the threshold value.Example : If the input is:100506014020075-1The output should be:506075
The 100 specifies that the program should output all integers less than or equal to 100. Next, five integers are added to the list: 50, 60, 140, 200, and 75. Finally, -1 indicates the end of the list.
Write your code to define and use two functions:get_user_values(nums)output_ints_less_than_or_equal_to_threshold(nums, threshold)STARTER CODE (in photo)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here