본문 바로가기
python-algorithm

백준 27331 2 桁の整数 (Two-digit Integer)

by 무적김두칠 2023. 1. 31.

https://www.acmicpc.net/problem/27331

 

27331번: 2 桁の整数 (Two-digit Integer)

2 つの数字 A, B が与えられる. 十の位が A であり,一の位が B である 2 桁の正の整数を出力せよ.

www.acmicpc.net

 

1
2
3
4
5
6
7
8
9
def sol(a, b):
    return a+b
 
 
if __name__ == '__main__':
    a = str(input())
    b = str(input())
    print(sol(a, b))
 
cs

 

반응형

댓글