- 1

What is the output of this code and also explain me

A=[0 , 0 , 0] Print (len(A)**0)

16th Mar 2020, 6:51 AM
Muhib Ul Aziz
Muhib Ul Aziz - avatar
12 odpowiedzi
+ 5
itx_ mobi20 Is there in quiz Print or print. If there is Print then it will give error.
16th Mar 2020, 7:07 AM
A͢J
A͢J - avatar
+ 5
itx_ mobi20 Ok then you can report as ~ swim ~ said. Because output is coming 1.
16th Mar 2020, 7:14 AM
A͢J
A͢J - avatar
+ 2
16th Mar 2020, 7:24 AM
Muhib Ul Aziz
Muhib Ul Aziz - avatar
+ 1
Yes i know nd i give the answer but the answer is wrong
16th Mar 2020, 7:00 AM
Muhib Ul Aziz
Muhib Ul Aziz - avatar
+ 1
No AJ Anant its print my mistake
16th Mar 2020, 7:12 AM
Muhib Ul Aziz
Muhib Ul Aziz - avatar
+ 1
~ swim ~ what is wrong in this quiz
16th Mar 2020, 7:14 AM
Muhib Ul Aziz
Muhib Ul Aziz - avatar
+ 1
Fill in the blanks ~ swim ~
16th Mar 2020, 7:20 AM
Muhib Ul Aziz
Muhib Ul Aziz - avatar
+ 1
Anything raised to 0 is 1 So o/p is 1
16th Mar 2020, 2:56 PM
DANLEOPRIME
DANLEOPRIME - avatar
+ 1
Answer is 3 or maybe 111
17th Mar 2020, 12:25 PM
anand Pandit
anand Pandit - avatar
0
1 cause any number raised to the power of 0 including 0 results in 1
16th Mar 2020, 4:52 PM
Nakul
Nakul - avatar
0
There's a list which has lenght 3 so when you evaluate the print statement it raises the lenght i.e. 3 to the power of 0 and anything raise to 0 is 1.
18th Mar 2020, 3:48 AM
Max Turbo
Max Turbo - avatar
0
Length is 3 Pow of 3 is 0 Which is 1
18th Mar 2020, 5:18 AM
yash vardhan singh
yash vardhan singh - avatar