a=[1,2,3,4,5]
for i in a:
        while i==5:
            #print("enterted value is ",i,end="\n")
            
            print("all items in the list are displayed!")
            if(i!=4):
              print("something is wrong")
              break

                
            

        
            
