Question: This has to be written in Python and run in Python 3. The last two pictures are what I have so far. based on that
based on that option. Each of the options will cause the program to do something different. Do this Modify your iflelse statement to be an iflelif ladder. Each rung in this ladder should check the option variable for one of the numbers 0 to 6. The ladder should look like this: if opt contin False elif opt 1: do addition pass li elif opt 2: do subtraction pass and so on Put a simple comment and a pass statement in each elif section like I show here. In the subsequent sections you go back and replace the comments with real statements. At the bottom of the ladder there should be the final else clause that was part of the original if/ else statement. After completing this section your program should run just as it did before. Test it to be sure. It still doesn't do anything interesting
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
