Lists and dictionaries #2


#1

numbers = [5, 6, 7, 8]

print "Adding the numbers at indices 0 and 2..."
print numbers[0] + numbers[2]
print "Adding the numbers at indices 1 and 3..."
list_name[index]

what do i do plz help
plz copy ur code to help me thx ppl.


#2

This line does not look quite right. Did you study the example in the second line?


#3

i saw that thx for help i figured it out by doing something else thx thou


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.