My issue
give solution
My code
# Update the functions below
def int_to_binary(n):
def count_binary_digits(n):
# Read the number of test cases
T = int(input())
# Process each test case
for i in range(T):
N = int(input())
binary = int_to_binary(N)
digit_count = count_binary_digits(N)
print(digit_count)
Learning course: Design and Analysis of Algorithms
Problem Link: https://www.codechef.com/learn/course/kl-daa/KLDAA2400E/problems/RECUR17