본문 바로가기
Algorithm(BOJ, Python)/Mathematics

[백준_10407] 2타워 python

by kurooru 2022. 6. 13.
h = int(input())

if h == 1:
    print(2) # 1을 제외한 모든 2타워의 계산값은

else:
    print(1) # 1이다.