Mar-10-2019, 09:16 PM
I'm very new to python
and would like to know what will be the output of the below code.
and would like to know what will be the output of the below code.
x=1 y=1 while y>=30 x= x+1 y=y+x print (x)I'm getting 1 as an output. I don't understand why. Thanks in advance!