+ 1

I am not getting while statements?

2nd Apr 2019, 5:24 AM
Anonymous
Anonymous - avatar
2 odpowiedzi
+ 3
In python while statement has a different syntax as given below while condition: //Code U need to use indentation inside while loop for the code to work ...!!!
2nd Apr 2019, 5:35 AM
Ramu
Ramu - avatar
- 1
While(Condition) { //BODY } Statement inside '{} `will be executed till' condition ' fails.
2nd Apr 2019, 5:30 AM
Kuri
Kuri - avatar