Odpowiedź :
n = int(input("Podaj liczbę: "))
a = n+1
b = a+1
c = b+1
d = c+1
e = d+1
f = e+1
g = f+1
h = g+1
i = h+1
txt = (str(n)+" "+str(a)+" "+str(b)+" "+str(c)+" "+str(d)+" "+str(e)+" "+str(f)+" "
+str(g)+" "+str(h)+" "+ str(i))
print(txt)
n = int(input("Podaj liczbę: "))
a = n+1
b = a+1
c = b+1
d = c+1
e = d+1
f = e+1
g = f+1
h = g+1
i = h+1
txt = (str(n)+" "+str(a)+" "+str(b)+" "+str(c)+" "+str(d)+" "+str(e)+" "+str(f)+" "
+str(g)+" "+str(h)+" "+ str(i))
print(txt)