#python #anaconda #jupyter-notebook #visual-code #html #css #javascript #http

제목나이 계산 프로그램 개발하기 질문입니다2021-06-25 02:42
작성자

Jane is 20 years old.
Jane becomes 30 years old after 10 years.
Jane becomes 98 years old in 2098. 



문제의 지문인데요.., 여기서 2098 년에 Jane 의 나이는 98살이 아닌 99살 아닌가요..?

Assert 구문에 넣어도 오류없이 동작하는 함수를 2098년 기준으로 넣으면 99살이라고 나옵니다

댓글