• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu
+ 2

Why a[0]=1? instead of 3

a=[1,[2,3]] b=a[:] a[0]=3 a[1][1]=5 print(b)

sololearnpython3
10th Aug 2020, 9:22 PM
Vahid Vafaie
Vahid Vafaie - avatar
2 Réponses
+ 4
More about the issue here: https://code.sololearn.com/c89ejW97QsTN/?ref=app
10th Aug 2020, 10:25 PM
HonFu
HonFu - avatar

Vous avez souvent des questions comme celle-ci ?

Apprenez de maniĂšre plus efficace, gratuitement :

  • Introduction Ă  Python

    7.1M apprenants

  • Introduction Ă  Java

    4.7M apprenants

  • Introduction Ă  C

    1.5M apprenants

  • Introduction Ă  HTML

    7.5M apprenants

Voir tous les cours
Aujourd'hui en vedette
Issue with Sololearn Module Quiz Despite Correct Answers
2 Votes
I need help to solve this
0 Votes
Project
0 Votes
Engineer Cloud
0 Votes
Lua?
1 Votes
Hey what the research process order for them that I am telling you please order them and tell me answer
0 Votes
How to add comment in python?
0 Votes
How do we code calculator
0 Votes
Ayuda para insertar la imagen de portada y las melodĂ­as a mi ĂĄlbum alguien sabe cĂłmo
0 Votes