1001. A-B

py_code·2020년 11월 17일
0

백준-브론즈5

목록 보기
2/57

solution 1

a,b = map(int, input().split())
print(a-b)

solution 2

def dif_AB(string):
    a,b = map(int, string.split())
    return a-b
print(dif_AB(input()))

programmers나, 향후 코딩 연습할 때를 위해서도 되도록 함수화시켜서 다시 문제를 풀어보는 것이 도움이 될 듯 하다.

profile
개발자를 꿈꿉니다.

0개의 댓글

관련 채용 정보