BOJ/백준-15680-python

cosmos·2022년 5월 16일
0
post-thumbnail

문제

풀이

  • if-else 조건문을 이용하면 쉽게 구현 할 수 있다.

코드

# https://www.acmicpc.net/problem/15680
# boj, 15680: 연세대학교, python3
import sys

input = sys.stdin.readline

def solve(n: int) -> str:
    return 'YONSEI' if n == 0 else 'Leading the Way to the Future'

if __name__ == '__main__':
    n = int(input())

    print(solve(n))

결과

출처 & 깃허브

boj 15680
github

0개의 댓글