Skip to content
Snippets Groups Projects

Resolve "Create function get_possibilities"

Merged nicolas.albanesi requested to merge 11-create-function-get_possibilities into main
1 file
+ 2
16
Compare changes
  • Side-by-side
  • Inline
+ 2
16
@@ -6,7 +6,7 @@ def get_possibilities(l: list):
# Transforme the list in list of tupples with their indexes
for x, _ in enumerate(l):
l[x] = (l[x], x)
l[x] = (x, l[x])
# ! la valeur 20 est hardcodée. Paramètre de fonction ??
@@ -21,22 +21,8 @@ def get_possibilities(l: list):
return p
'''
[1, 2, 3, 4, 5]
[1, 2, 3, 4, 5, 6, 7, 8, 9]
| |
| err |
'''
def lagrange_compute(l: list) -> polynome:
pass
def check_nb_error(l: list, p: polynome) -> int:
pass
\ No newline at end of file
pass
\ No newline at end of file
Loading