0
How is (1+3)**2=16 ??
5 ответов
+ 4
first 1+3=4 then 4^2=16
+ 2
In Python '**' operator is power operator, so:
( 1 + 3 ) to power of 2 == 16 ;)
+ 2
It is 16.0, not 16!
+ 1
@Ali Emir Kizil:
'=16' was to be read in human language, where '16==16.0'
... else it's neither '16' nor '16.0' at output, it's a syntax error :P
0
BODMAS
Brackets,of,Divison,Multiplication,Addition,Subtraction That is the order in which you do calculations
Brackets come first (1+3)=4
4**2
** means square or multiple 4 two times
4x4=16