b = input("Gib die Steigung ein: ") a = input("Gib den Offset ein: ") b = int(b) a = int(a) x = 0 while x < 10: print(x*b+a) x = x + 1