formatte file

This commit is contained in:
2025-04-01 14:28:43 +02:00
parent f2ae2cbc13
commit e03e5458aa
77 changed files with 1231 additions and 945 deletions

View File

@@ -1,4 +1,4 @@
def appartient(elt,tableau):
def appartient(elt, tableau):
for i in tableau:
if i == elt:
return True
@@ -6,6 +6,7 @@ def appartient(elt,tableau):
continue
return False
if __name__ == "__main__":
print(appartient(5,[1,2,3,4,5,6,7,8,9,10]))
print(appartient(5,[1,2,3,4,6,7,8,9,10]))
print(appartient(5, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]))
print(appartient(5, [1, 2, 3, 4, 6, 7, 8, 9, 10]))