What is the output of the below Python Program?
Question
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
It will take less than 1 minute to register for lifetime. Bonus Tip - We don't send OTP to your email id Make Sure to use your own email id for free books and giveaways
Answers ( 2 )
1
2
3
4
x +=1 will keep on incrementing unless x%5 == 0 becomes TRUE. It will happen only when x is 5
1
2
3
4
loop breaks when x is at 5 and we come out of the while loop (hence it would not be printed).