guys I appreciate the help and I may sound a bit stupid at this stage but I cant do 1/18 so if you could give me the answer to carry on then id be really gratefull, thanks!
Use the print command, so your answer will look like "print n[x]".
X in this context denotes the list index, so your possibilities are 0, 1, 2 since there are only 3 items in the list. Out of 0, 1, and 2, whichever one is the second one is gonna be what you're looking for.
just hit the "save and submit" button
Or there could be a load of bugs
here you go:
n = [1, 3, 5]
Hope this helps!
It should be on the line 2, ONLY.
Hey guys I'm stuck on 18, too and reading this has just confused me even more! Here is my code can you show me what I'm doing wrong?
n = [3, 5, 7]
for i in range(0, len(n)):