#follow me on Grepper user1= input("Enter Something: ") counter = 0 while user1 != "": print("hello world") counter+=1 if counter ==3: break