Texts: See Canvas for more details. Create a program named python_code_soup.py consisting of only the following lines of code to produce the output shown below.
x = 1
y = 10
z = 0
x = y
x += 1
y += x
z += x
z += y
print(z)
You may also use blank lines and # style comments in your code (including the header), everything else will be marked as "not allowed"
Your program should print out the following, when run:
1
26
102
1000000000
8675
489578.2826596.qx3zqy7
LAB ACTIVITY 2.11.1: LAB: Python Code Soup
Submission Instructions
Downloadable files
python_code_soup.py
Download 0/10
See Canvas for more details. Create a program named python_code_soup.py consisting of only the following lines of code to produce the output shown below.
x = 1
y = 10
z = 0
x = y
x += 1
y += x
z += x
z += y
print(z)
You may also use blank lines and # style comments in your code (including the header), everything else will be marked as "not allowed"
Your program should print out the following, when run:
26
102
1000000000
8675
LAB ACTIVITY 2.11.1: LAB: Python Code Soup
0/10
Submission Instructions
Downloadable files
Python code_soup.py
Download