def image(f): for x in range(-1,10): print(f"{f(x)} : {x}") image(lambda x:x**2 -1) # Résultat : 0 : -1 # -1 : 0 # 0 : 1 etc.