Exercices

This commit is contained in:
Tipragot 2023-09-21 15:09:01 +02:00
parent 99e28efdd7
commit 5467481626
No known key found for this signature in database

View file

@ -0,0 +1,17 @@
def rebours(n):
if n == 0:
print()
return
print(n, end=" ")
rebours(n-1)
rebours(12)
def compte(t, n=1):
print(n, end=" ")
if n < t:
compte(t, n+1)
else:
print()
compte(5)