BETA
This is a school problem. Successful submissions of this are not counted in user ratings.

Submissions : 1393 Accuracy :

49.68

Pattern Printing
     

Starting from one print a series of asterisk(*) till N terms with increasing order and difference being 1.

Input:
First line of the input is the number of test cases T. And first line of test case contain the value of 'N'.

Output:
Series of asterisk's is printed in a single line with one space between each iteration.

Constraints:
1 <=T<= 30
1 <=N<= 100

Example:

Input:


5
1
10
5
6
2

Output:
 

* 
* ** *** **** ***** ****** ******* ******** ********* ********** 
* ** *** **** ***** 
* ** *** **** ***** ****** 
* ** 

**For More Examples Use Expected Output**


Set Default Code

					   
Result:
It is recommended to test your code before clicking 'Submit' button!



                   



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