207k views
3 votes
What is the value of x after the following code is executed?

x = 0
while x < 20 :
x = x + 1
else :
x = 10

User SoBeRich
by
7.7k points

1 Answer

4 votes
I think it is X equals X +1 and while ex alt 20
User Subham
by
7.6k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.