#!/usr/bin/python # Programme test2.py # chmod a+x test2.py; ./test2.py import math B=1 while B>0: B=int(input("Borne:? ")) I=1 while I<=B: print("I=",I,"I^2=",I**2,"I^1/2=",math.sqrt(I)) I+=1 else: print("Fin du programme test2.py")