Question: In python Fill in the blanks to complete the output of the below Python program. def secret(n): p = 1 i = 0 while p
In python
Fill in the blanks to complete the output of the below Python program.
def secret(n): p = 1 i = 0 while p <= n: print("p=",p) print("i=",i) p=p*2 i=i+1 r=i-1 print("r=",r) return r secret(10)
Complete the below output
p= i= p= i= p= i= p= i= r=
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
