QUESTION 24 What does the following code print on the screen: i=1 sum=0 while i<=4: sum=sum+1 i=i+1 print (sum) a. Nothi
Posted: Fri Jul 08, 2022 7:27 am
QUESTION 24 What does the following code print on the screen: i=1 sum=0 while i<=4: sum=sum+1 i=i+1 print (sum) a. Nothing is printed on the screen. The while loop is infinite b. 10 O c. 1 O d. 4 QUESTION 25 What does R represent in the following code: x=[1,7,2,3,4,0] R=x[0] for i in range(1, len(x)): if x<R: R=x a. The maximum value in the list O b. Nothing special c. The minimum value in the list d. The average value in the list