diff --git a/loop_While.py b/loop_While.py index f5de91f..073fe35 100644 --- a/loop_While.py +++ b/loop_While.py @@ -6,9 +6,9 @@ def main(): print("program start") i=1 while(i<100): - if(i% 4==0): + if(i%4==0):#'%' is a modular operator which return the remainder after dividing the values print("Count {}".format(i)) - i+=1 + i+=1 #incrementing 'i' by 1 print("progarm end")