+ 1
I am not getting while statements?
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 ...!!!
- 1
While(Condition)
{
//BODY
}
Statement inside '{} `will be executed till' condition ' fails.