http://codeup.kr/JudgeOnline/problem.php?id=1154
Codeup 1154 - 큰수 - 작은수
xxxxxxxxxxnum1, num2 = input().split()num1 = int(num1)num2 = int(num2)if(num1 > num2): print(num1 - num2)else: print(num2 - num1)
'알고리즘 문제 풀기 > Codeup' 카테고리의 다른 글
| Codeup 1156 - 홀수 짝수 구별 (0) | 2018.12.14 |
|---|---|
| Codeup 1155 - 7의 배수 (0) | 2018.12.13 |
| Codeup 1153 - 두 수의 대소 비교 (0) | 2018.12.11 |
| Codeup 1152 - 10보다 작은 수 (else 버전) (0) | 2018.12.11 |
| Codeup 1151 - 10보다 작은 수 (0) | 2018.12.10 |