What number will the following VPython code display? X-828 n-1 while n<3: 1-א *2=X +n=ח print(x)

icon
Related questions
Question
Q2
What number will the following VPython code display?
X=828
n=1
while n<3:
x-2*x-1
n=n+1
print(x)
Transcribed Image Text:What number will the following VPython code display? X=828 n=1 while n<3: x-2*x-1 n=n+1 print(x)
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer