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? 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
Get step-by-step solutions from verified subject matter experts
