how is 2**5=32, 9**(1/2)=3.0, (1+3)**2=16, 20//6=3, and 1.25%0.5=0.25 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how is 2**5=32, 9**(1/2)=3.0, (1+3)**2=16, 20//6=3, and 1.25%0.5=0.25

Pllz answer it

14th Apr 2020, 2:19 AM
Saslesh Khatri
Saslesh Khatri - avatar
2 Answers
+ 4
1st. 2**5 >> 2^5 >> 2×2×2×2×2=32 2nd. 9**(1/2) >> root 9 >> 3.0 3rd. (1+3)**2 >> 4^2 >> 4×4=16 4th. 20//6 >> floor division >> 3 5th. 1.25%0.5 >> remainder when 1.25 is divided by 0.5 = 0.25
14th Apr 2020, 2:34 AM
Tricker
+ 1
2**5 = pow(2,5)= 2^5 =32 9**(1/2)= pow(9,0.5)=sqrt(9)=3 20//6 = min integer part for the division 20/6 = 3.33 and the min value is 3 1.25%0.5 = first the result is <0.5 and 1.25 = 0.5*2 + 0.25
15th Apr 2020, 8:39 PM
HADÈS
HADÈS - avatar