34 Program to demonstrate While-Else Loop in Python Atharva Satyendra Agrawal March 26, 2020 Atharva Satyendra Agrawal Program: #program for while-else x=1 while(x<=5): print("hello") x=x+1 else: print("world") print("end") Output: Tweet Share Share Share Related Post