''' printe ut 'hei' 10 ganger ''' def print_hei_for(): for i in range(10): #fom 0 tom 9 print("hei") def print_hei_while(): #while (cond (true)) teller = 0 while (teller < 10): print("hei") teller += 1 #teller = teller + 1 #slutt #print_hei_for() #kaller paa prosedyren print_hei_while()