Cursos
Iniciar sesiónComenzar a aprender IA
Cursos
Iniciar sesiónComenzar a aprender IA
0

s=2**2**3 print(s) outout:256

2**2=4 4**3=64 why 256?

python3
15th Oct 2018, 3:18 AM
Dongzhi
2 Respuestas
+ 4
2**2**3 is evaluated as 2**(2**3) = 2 ** 8 = 2*2*2*2*2*2*2*2 = 256
15th Oct 2018, 3:40 AM
Hatsy Rei
Hatsy Rei - 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
Hello can anyone help me to learn gdscript
0 Votes
What coding language should i use to make a custom coding language?
0 Votes
hello world i need help
2 Votes
help string permutation
0 Votes
Any easy game ideas for beginners?
0 Votes
Hello! I’m 15 and I want to learn programming to become a web developer. Any advice?
0 Votes
Which is more important CSS vs HTML vs JS?
1 Votes
How many courses are there on Sololearn
1 Votes
Code is wrong somehow, I need help!
0 Votes
hi
1 Votes