Post

Python Programming
Python Programming@PythonPr·
Python Question / Quiz; What is the output of the following Python code, and why? Comment your answers below!
Python Programming tweet media
English
31
12
95
13.3K
Python Tech
Python Tech@PythonTech43716·
@PythonPr A) 0,1,2 is right answer. Simple use of while loop and print the value. 0<3 then print 0 then update the value of x = 1 and 1<3 true print 1 then update the value x is 2 and 2<3 condtion true print 2 then update the value of x 3<3 condition false and loop stop.
English
0
0
2
317
Paylaş