• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • Teams
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 Antworten
+ 4
More about the issue here: https://code.sololearn.com/c89ejW97QsTN/?ref=app
10th Aug 2020, 10:25 PM
HonFu
HonFu - 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ß
Code coach popsicles challenge
0 Votes
Sarang
2 Votes
Buggy app today
1 Votes
How ?
1 Votes
How many program that you've made even a smaal project are good?
0 Votes
What kind of questions do companies ask in Data Analyst interviews (including Python, SQL, Power BI, and Excel)?
1 Votes
??
1 Votes
Programming
0 Votes
Temperature converter( celsius to fahrenheit)
0 Votes
Code coach isn't awarding xp
0 Votes