Doan logic 0

mail@pastecode.io avatar
unknown
plain_text
2 years ago
118 B
3
Indexable
Never
def f(x):
    return x*(x+1)


t = int(input())
while t > 0:
    t -= 1
    x = int(input())
    print(f(x))