0
What's the output of this code? i = 0 x = 0 while i < 4: x+=i i+=1 print(x)
1 Antwort
+ 1
Hi! Please, put this code in code playground and see yourself:
If you want to run a code on Sololearn...
Then,
➡️ Go to the Code Playground section (you can find it here : https://code.sololearn.com) and click on the + icon at the bottom right corner.
➡️ Then select language and write your code and save it.
➡️ Then click on Run and your Code will get executed.