New course! Every coder should learn Generative AI!
Try a free lesson0
Can I use else statement after loop stops?
2 Answers
0
yes u can use the else statement but it will only run if the condition given in the while statement is false.
0
@Deepanshu Jha Thanks