Kernel: Python 3 (Ubuntu Linux)
In [178]:
In [14]:
Out[14]:
[0, 6, 12, 18]
In [18]:
Out[18]:
[0]
In [19]:
Out[19]:
[0, 3, 6, 9, 12, 15, 18]
In [20]:
Out[20]:
[0, 3, 6, 9, 12, 15, 18]
In [22]:
Out[22]:
3
0
1
2
In [73]:
In [74]:
Out[74]:
[(3, 0), (4.5, 2), (0, 3), (1.8, 5)]
In [62]:
Out[62]:
[]
In [0]:
In [173]:
In [174]:
Out[174]:
['c', 'e', 'i', 'j']
In [175]:
Out[175]:
['c', '', 'i']
In [176]:
Out[176]:
[]
In [192]:
In [193]:
Out[193]:
[]
In [194]:
Out[194]:
[]
In [195]:
Out[195]:
[6, -2]
In [197]:
Out[197]:
[]
In [204]:
Out[204]:
File "<ipython-input-204-a30d948e434a>", line 8
for x = L[0]: # candidat répété
^
SyntaxError: invalid syntax
In [201]:
Out[201]:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-201-76e012dc556f> in <module>()
----> 1 positionN([1.6, 2.5, 3.2, 1.6, 4.6, 1.6, 1.6, 5.8], 1.6, 1)
TypeError: positionN() takes 1 positional argument but 3 were given