Question: CODE NEEDS TO BE DONE IN PYTHON. I am stuck on a code that requires all the empty string values in a list into '-1'.
CODE NEEDS TO BE DONE IN PYTHON.
I am stuck on a code that requires all the empty string values in a list into '-1'.
The following picture is what i am stuck at.

Ist ['', '72.3', '', '69.5', '', '70.0', '', '70.3', '']#what i am given Ist= ['-1', '72.3', '-1', '69.5', '-1', '70.0', '-1', '70.3', '-1']#what lst looks after code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
