Variables and Values
Please Log In for full access to the web site.
Note that this link will take you to an external site (https://shimmer.mit.edu) to authenticate, and then you will be redirected back to this page.
Variable Names
Which of the following are valid names for Python variables? Check the boxes next to the names that are valid Python variable names.Transcript
Consider the following program:a = 12 c = 4 a = 1 b = 10 if a > 6: a = b else: a = c c = b
Walk through the program above using an environment diagram. Upload a PDF or an image of the environment diagram once all of the instructions above have run:
No file selected
Variable a has value:
Variable b has value:
Variable c has value: