j = 0 while j < 3: print("hello") # Or whatever you want j += 1 #This runs the loop until reaches 3 and above