Question: python What will be the output of the following Python code? def convert(b): if(b==0): return L dig=b%2 L.append(dig) convert(b//2) convert(6) L.reverse() for i in L:

 python What will be the output of the following Python code?

python

What will be the output of the following Python code? def convert(b): if(b==0): return L dig=b%2 L.append(dig) convert(b//2) convert(6) L.reverse() for i in L: print(i,end="") A. 01 B. Infinite loop O C. 011 OD. 110 E. 10 F. None of the mentioned

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!