Answers for "indice d'un element dans une liste python"

0

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"""
Posted by: Guest on July-28-2020

Code answers related to "indice d'un element dans une liste python"

Python Answers by Framework

Browse Popular Code Answers by Language