BETA
School Problem's Submission isn't counted in score!

Total Submissions: 3569 Accuracy:

31.05%

Print 1 to n without using loops
     

Print numbers from 1 to n without the help of loops.

Input: 
The first line of the input contains T denoting the number of testcases. First line of test case contain number n.

Output: 
Numbers from 1 to n will be printed.

Constraints:

1 <=T<= 100
1 <=N<= 990

Example:

Input:

1
10

Output:

1 2 3 4 5 6 7 8 9 10

** For More Input/Output Examples Use 'Expected Output' option **

Set Default Code

					   
It is recommended to 'Compile & Test' your code before clicking 'Submit'!

Compilation/Execution Result:

Need help with your code? Please use ide.geeksforgeeks.org, generate link and share the link here.