logo CodeStepByStep logo

four_mistakes

Language/Type: Python variables errors

The following program contains 4 mistakes! Correct the errors and submit a working version of the program. The corrected version of the program should produce the following output:

x is 2
x is now 15.2
x and y are 15.2 and 16.2
Complete program: Write an entire program that you could put into a file and run outside of CodeStepByStep.

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.