Question: Lists Exercise 1 Problem Write a program that takes a list of integers called and replaces each element greater than 1 0 with a Print
Lists Exercise
Problem
Write a program that takes a list of integers called
and replaces
each element greater than with a
Print the new version of
Expected Output
If
hen you will print
If
then you will print
Hint
Important
Do not edit the code in the top section. This code is necessary for the auto
grader to work. Add your code in the section below.
Testing Your Code
The TEST button will test your code with numbers
The
button will test your code with numbers Lists Exercise
Problem
Write a program that takes a list of integers called
and replaces
each element greater than with a
Print the new version of
Expected Output
If
hen you will print
If
then you will print
Hint
Important
Do not edit the code in the top section. This code is necessary for the auto
grader to work. Add your code in the section below.
Testing Your Code
The TEST button will test your code with numbers
The
button will test your code with numbers
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
