0
What's the output of this code? i = 0 x = 0 while i < 4: x+=i i+=1 print(x)
1 Answer
+ 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.