CSE 160 Homework 0

Step 1: Install Anaconda 3

Follow this setup document.

Don't be scared, we know it's long! After completing all the steps in the setup document correctly , your machine should be all set up for the rest of the quarter!

Part 2: Try some python

Download THIS main.py to whichever directory you plan to use to store homework assignments. (DO not use the main.py from the installation process.) Open it in VSCode.

Step through the following code to determine what the final value stored in the variables first and second would be:

first = 8
second = 9
first = first + second
second = first - second
first = first - second

Now fill in your answer into the proper sections in main.py.

Part 3: Submit a program to Gradescope

Once you finish Part 2, submit your modified main.py to Gradescope. Your file must be named main.py. You should get a confirmation email once you have submitted it. A completely correct submission should not have anything red in the output on Gradescope. We are not grading you on your linter errors for hw0, but you should still try to fix them! You can resubmit to Gradescope as many times as you want before the deadline.