Doan logic 0

Anonymous
plain_text
10/23/2022 2:03 AM
160 B
17
Indexable
def f(x):
    return x*(x+1)


t = int(input())
while t > 0:
    t -= 1
    x = int(input())
    print(f(x))
Editor is loading...