def print_hei(): print("Hei!") a = 5 while a > 0: print_hei() a -= 1 a = 5 for i in range(5): print_hei()