For this Question: You are given a number n. You need to find the count of digits in n.The first line of input contains T denoting the number of test cases. Each testcase contains one line of input containing n.
For Python, Language Just Completes the function.

<b>Constraints:</b>
1 &le; T &le; 100
1 &le; n &le; 10<sup>8</sup>For each testcase, in a newline, print the count of digits in n.Input:
2
1
99999
Output:
1
5

<b>Explanation:</b>
Testcase 1: The number of digits in 1 is 1.
Testcase 2: The number of digits in 99999 is 5, I have written this Solution Code: #include<bits/stdc++.h>
using namespace std;

#define pu push_back
#define fi first
#define se second
#define mp make_pair
#define int long long
#define pii pair<int,int>
#define mm (s+e)/2
#define all(x) x.begin(), x.end()
#define For(i, st, en) for(int i=st; i<en; i++)
#define tr(x) for(auto it=x.begin(); it!=x.end(); it++)
#define fast std::ios::sync_with_stdio(false);cin.tie(NULL);
#define sz 200000

signed main()
{
	
		int t;
		cin>>t;
		while(t>0)
		{
			t--;
			int n;
			cin>>n;
			int cnt=0;
			while(n>0)
			{
				cnt++;
				n/=10LL;
			}
			cout<<cnt<<endl;


		}
	
}, In this Programming Language: C++, Now tell me if this Code is compilable or not?