Question: Exercise 1 Lists Exercise 1 Problem Write a program that reads in a bunch of integers from the user on a single line called numbers
Exercise
Lists Exercise
Problem
Write a program that reads in a bunch of integers from the user on a single line called numbers and then will create a list of those numbers, and replace each element greater than with a Print the new version of numbers.
Examine the starting code and answer the following questions:
What type before split?
What type is the variable numbers after line after the input statement is executed?
string
list
int
bool
What type after split?
What type is the variable numbers after line after the split method is executed?
string
list
int
boot
Expected Output
If the user typed in then you will print
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
