Call the specific position in list (Python) -


i kinda new in python, still learning. can guys me how can call specific position of list?

for example: list_of_numbers = [24, 45, 743, 23, 541]:

how can number 743?

to need index list. naming variable list , putting number along list in square brackets remember python starts counting 0. example:

    list_of_numbers=[24, 45, 753, 23, 541]     list_of_numbers[2] 

Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -