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

Total Submissions: 1506 Accuracy:

50.33%

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 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.