tall = int(input("Tast et heltall: "))
teller = 0

while teller < tall:
    print(teller)
    teller += 1

tall = 0

while tall != 10:
    inp = input("Tast et heltall: ")
    tall = int(inp)

print("Du tastet 10, programmet avsluttes")
