• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • Teams
Menu
+ 2

m = [ [1, 2, 3], [4, 5, 6] ] print(m[1][2])

how do we get 6 here in output explain plz

python
16th Aug 2020, 12:36 PM
vasista bg
vasista bg  - avatar
2 Antworten
+ 5
Zero indexing 0 refers to first item https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2431/
16th Aug 2020, 12:40 PM
Louis
Louis - avatar

Häufig solche Fragen?

Effizienter lernen, kostenlos:

  • Einführung in Python

    7.1M Lernende

  • Einführung in Java

    4.7M Lernende

  • Einführung in C

    1.5M Lernende

  • Einführung in HTML

    7.5M Lernende

Alle Kurse anzeigen
Heute heiß
Functions in python
2 Votes
How to make a playground
1 Votes
For Mobile app
0 Votes
How can you find whether a number is odd or even in a different way(other than (x%2==0))?
1 Votes
I need advice
0 Votes
Html 5 document question
1 Votes
this query always result to be incorrect from Sorting Data lesson
1 Votes
Paint costs
1 Votes
Why this code fails even without data race
0 Votes
Learning Python - Question
1 Votes