I'm a beginner with Python and am really confused as to why this piece of code returns '0' - I'd be grateful for any input on why this may not be working.
myString = [["1","a"], 0, [""]
In: myString[int(myString[0][0])]
Out: 0
I'm a beginner with Python and am really confused as to why this piece of code returns '0' - I'd be grateful for any input on why this may not be working.
myString = [["1","a"], 0, [""]
In: myString[int(myString[0][0])]
Out: 0