+ 2

How do you solve this question print (9**(1/2)

I am new to this question so I don't really understand it

22nd Aug 2022, 9:01 AM
Chioma Adele Iyke Obi
Chioma Adele Iyke  Obi - avatar
32 Antworten
+ 4
If a number have 1/2 as its power, then that means we want it's square root, so here we want the square root of 9 which is 3 but you'll get 3.0 cause you did division
23rd Aug 2022, 4:30 AM
Ujjawal Gupta
Ujjawal Gupta - avatar
+ 2
(1/2) == 0.5 .... And mathematically, it refers to the square root.... Being a float, it should return a float.... So root of 9 is 3.0 (float)
23rd Aug 2022, 7:26 AM
Ahairwe Jordan
Ahairwe Jordan - avatar
+ 1
What's the question?
22nd Aug 2022, 9:03 AM
Rei
Rei - avatar
+ 1
If you have a delcimal number, you can use int(number) to convert the number. Change the number with your own variable name
22nd Aug 2022, 9:14 AM
Rei
Rei - avatar
+ 1
Wow Thanks so much 😍😍
22nd Aug 2022, 9:23 AM
Chioma Adele Iyke Obi
Chioma Adele Iyke  Obi - avatar
+ 1
3
23rd Aug 2022, 5:55 AM
Pele Baki
Pele Baki - avatar
+ 1
4.5
23rd Aug 2022, 1:07 PM
Rushi Dongre
Rushi Dongre - avatar
+ 1
How????
23rd Aug 2022, 1:09 PM
Chioma Adele Iyke Obi
Chioma Adele Iyke  Obi - avatar
+ 1
Mirielle thanks
23rd Aug 2022, 3:09 PM
Chioma Adele Iyke Obi
Chioma Adele Iyke  Obi - avatar
+ 1
The answer must be 3.0 (9**(1/2)) Which means 9 to the power of 1/2 which is 0.5 (square root).
23rd Aug 2022, 3:51 PM
Muhammad Ajmal P M
Muhammad Ajmal P M - avatar
+ 1
*=multiplication. **=exponential operator. (9**(1/2)) it means ✓9 you can easily solve this and get the answer 3.0.
23rd Aug 2022, 6:37 PM
Abhishek Gupta
Abhishek Gupta - avatar
+ 1
First you should know that parenthesis () must always be closed in your code. So it is only correct if you mean: (9**(1/2)); If so: Brackets are to be operated first then exponentiation.. (1/2) will produce a float: 0.5 Therefore, this will be 9^0.5== 3.0
24th Aug 2022, 5:37 AM
TheBubble001
TheBubble001 - avatar
+ 1
1/2 will result 0.5 9**0.5 means 9 to the power 0.5 which is 9 square root, which is 3.0 So, print(9**(1/2)) give give an output 3.0.
24th Aug 2022, 5:55 AM
Nandagopal Ramakrishnan
Nandagopal Ramakrishnan - avatar
0
What is an interger
22nd Aug 2022, 9:04 AM
Chioma Adele Iyke Obi
Chioma Adele Iyke  Obi - avatar
0
An integer is, a whole number (not a fractional number) 
22nd Aug 2022, 9:04 AM
Rei
Rei - avatar
0
What if there is a question that you should find the interger of the amount of a certain number
22nd Aug 2022, 9:06 AM
Chioma Adele Iyke Obi
Chioma Adele Iyke  Obi - avatar
0
What do you mean by "amount of a certain number"?
22nd Aug 2022, 9:07 AM
Rei
Rei - avatar
0
Like the question in fruit bowl
22nd Aug 2022, 9:08 AM
Chioma Adele Iyke Obi
Chioma Adele Iyke  Obi - avatar
0
"Output Format An integer representing the total number of whole apple pies that you can make." It means that the output should be a whole number and not a fractional number
22nd Aug 2022, 9:12 AM
Rei
Rei - avatar
0
How???
22nd Aug 2022, 9:12 AM
Chioma Adele Iyke Obi
Chioma Adele Iyke  Obi - avatar