• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu

Sesiones de PyR

a=[[0]*2]*2 a[0][0]=5 out: [[5,0],[5,0]]
listmultiplypython
6 Votos
5 Respuestas
5th Sep 2021, 12:39 PM
Arsalan [Inactive]
Arsalan [Inactive] - avatar
who can tell me what happens in this code?
a[0][0]=5a=[[0]*2]*2b[0][0]=5b=[[0,0],[0,0]]print(a,b)
1 Voto
4 Respuestas
11th Apr 2021, 3:40 PM
ice
ice - avatar
En tendencia hoy
Can i code here? Or just learn?
1 Votes
Hi, please I'm interested in learning Html, css and Javascript. I need a guidance or any app recommendation that will make me
1 Votes
Why Lazy?
1 Votes
Please help a beginner choose a programming language
2 Votes
Quiz App: Step 3, Restart Button
0 Votes
Catch the ball
0 Votes
It's app not running properly?
1 Votes
Running a python code
1 Votes
Web development
0 Votes
PHP
0 Votes