https://www.acmicpc.net/problem/18108
난이도 : 브론즈 5
태그 : 수학, 사칙연산
설명
불기년도를 서기년도로 바꾸는 문제입니다.
그냥 불기년도기 주어질때 -543를 하면 됩니다.
소스코드
a = int(input())
print(a-543)
'코딩테스트 > Python' 카테고리의 다른 글
[백준 3052번] [Python] 나머지 (0) | 2023.02.13 |
---|---|
[백준 11721번] [Python] 열 개씩 끊어 출력하기 (0) | 2023.02.07 |
[백준 1978번] [Python] 소수 찾기 (0) | 2023.01.30 |
[백준 2675번] [Python] 문자열 반복 (0) | 2023.01.15 |
[백준 2941번] [Python] 크로아티아 알파벳 (0) | 2022.12.21 |