0

# Why 9**(1/2) gave answer as 3.0 and not 3?

2 Antworten

+ 3

Because you use power float 0.5 (which then leads to square root). If you use whole number as power , then resulting value will be type int.

0

thank you for answering

0

2 Antworten

+ 3

Because you use power float 0.5 (which then leads to square root). If you use whole number as power , then resulting value will be type int.

0

thank you for answering