Courses
Log inStart Learning AI
Courses
Log inStart Learning AI
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 Answers
+ 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

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
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