Question: [ LO 6 . 1 ] What is the value of i after executing the loop two below?i = 1 0 0 while ( i

[LO 6.1] What is the value of i after executing the loop two below?i =100
while (i >0):
print(i)
i = i //2
a.2
b.-1
c.1
d.0
[ LO 6 . 1 ] What is the value of i after

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!