What does this code fragment print? More specifically, what does A[0][2] evaluate to?

前端 未结 0 1316
南旧
南旧 2020-12-18 15:39

A = [[2, 3, 1, 0], [3, 1, 0], [0, 2]] print(A[A[0][2]][2])

I understand that A[0] evaluates to [2, 3, 1, 0]. I don\'t understand how to eval

相关标签:
回答
  • 消灭零回复
提交回复
热议问题