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

when does the value change together

a=[1,2,3] b=a a[2]=9 print(a,b) c=[4,5] a=a+c result=a[1]*b[1] a[2]=8 print(a,b) print(result) https://code.sololearn.com/cdJjbGjX6d2C/?ref=app

python3
19th Apr 2020, 4:43 AM
Max
1 Respuesta
0
Could you be a little more specific on what you want?
19th Apr 2020, 4:51 PM
MyNameIsMutable
MyNameIsMutable - avatar

¿Tienes a menudo preguntas como esta?

Aprende gratis de forma más eficaz

  • Introducción a Python

    7,1M de estudiantes

  • Introducción a Java

    4,7M de estudiantes

  • Introducción a C

    1,5M de estudiantes

  • Introducción a HTML

    7,5M de estudiantes

Ver todos los cursos
En tendencia hoy
What programming language should i learn to make applications or games?
0 Votes
I need help
1 Votes
My hearts are disappering :(
0 Votes
How to learn python fast than usual in sololearn?
0 Votes
What can html, css and javascript do
0 Votes
Pressure and tension
2 Votes
How to make a selection on a calculator in Python
0 Votes
Conducción de calor o Q=−kAdTdxQ = -k A \frac{dT}{dx}Q=−kAdxdT o Pared 2 m², espesor 0.1 m, k = 50 W/m°C, ΔT = 30°C → Q ≈ 30,0
0 Votes
Where is code bit
0 Votes
a phone or a laptop
0 Votes