문제풀이/SW Expert Academy

[SWEA][D3] 1217. [S/W 문제해결 기본] 4일차 - 거듭 제곱 (파이썬/Python)

얄루몬 2021. 10. 11. 18:25

t = 10

for tc in range(1, t+1):
    tastcase_num = int(input())
    result = 0
    a,b = map(int,input().split())
    result = a**b

    print(f'#{tc} {result}')