I'm doing a lab for a basic programming class in Python, and I can't figure out how to return a number in a list, in another list.
I'm supposed to return 4 with "one expression and no parenthesis"
[1,[2,[3,4]]]
Any ideas? All I've gotten so far is returning [2,[3,4]] and I haven't been able to figure out anything past that.
return 4