n = int(input("Saisir n : ")) print("while :") i = n while (i >= 0): print (i) i -= 1 print("for :") for i in reversed(range(0, n+1)): print (i)