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.

CODE NEEDS TO BE DONE IN PYTHON. I am stuck on a

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!