def count_num(n): tem = str(n) return len(tem)
print(count_num(123))
@sriv.ansh
correct, keep it up.
@sriv.ansh very good