first commit

This commit is contained in:
2024-11-23 13:38:17 +01:00
parent 678203b19f
commit fb915042df
99 changed files with 6624 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
def appartient(elt,tableau):
for i in tableau:
if i == elt:
return True
else:
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]))