For this Question: Given a positive integer N. You need to print the sum of the first N natural numbers.The first line of input contains a single integer T, the next T lines contains a single integer N.

Constraints:
1 < = T < = 100
1 < = N < = 100Print the sum of first N natural numbers for each test case in a new line.Sample Input:
2
5
10

Sample Output:
15
55, I have written this Solution Code: for t in range(int(input())):
	n = int(input())
	print(n*(n+1)//2), In this Programming Language: Python, Now tell me if this Code is compilable or not?