logo CodeStepByStep logo

first_second

Language/Type: Python basics mystery variables

What are the values of first and second at the end of the following code?

first = 8
second = 19
first = first + second
second = first - second
first = first - second
first
second

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.