문제풀이/SW Expert Academy

[SWEA][D2] 1928. Base64 Decoder (파이썬/Python)

얄루몬 2021. 10. 10. 14:21

import base64

t = int(input())

for tc in range(1,t+1):
    s = input()
    enc = s.encode("UTF-8")
    dec = base64.b64decode(enc)

    print(f'#{tc} {dec.decode("UTF-8")}')