Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to find the index of a specific number in pythong?

""" To facilitate this, Python has an inbuilt function called index().
This function takes in the element as an argument and returns the index. By using this function we are able to 
find the index of an element in a list in Python """
list.index(element, start, end)
Source by flexiple.com #
 
PREVIOUS NEXT
Tagged: #find #index #specific #number
ADD COMMENT
Topic
Name
6+6 =