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
Post a Comment