python tableau en fonction de la sasie code example
Example: indice d'un element dans une liste python
week = ['monday','tuesday','wednesday']
week.index('tuesday')
>>> 1
"""Warning => error if the element isn't in the list"""
week = ['monday','tuesday','wednesday']
week.index('tuesday')
>>> 1
"""Warning => error if the element isn't in the list"""