#python #anaconda #jupyter-notebook #visual-code #html #css #javascript #http 제목nonetype 질문2024-03-24 15:59작성자작성자def calcAge(currentAge,currentYear,futureYear): futureAge=currentAge+futureYear-currentYear return futureAgeinputName=input("Hello, what's your name?") inputAge=int(input("How old are you?"))inputThisYear=int(input("Years of this year?"))futureAge=print(calcAge(inputAge,inputThisYear,2098))질문1. 여기서 futureAge 가 40,30 이런 것들로 나오는데 왜 int(futureAge) 가 안되나요?? 질문2. print(calcAge(inputAge,inputThisYear,2098))하면 숫자가 나오는데 print(inputName,"becomes",print(calcAge(inputAge,inputThisYear,2098)),"years old in 2098.") 이러면 Jane becomes none years old in 2098 이 나오는데 왜 그러죠?? 목록수정삭제답변글쓰기 댓글 [0] 댓글작성자(*)비밀번호(*)내용(*) 댓글 등록 더보기이전[re]prompt 왜 쓰는 거에요?drsungwon 2024-03-27다음[re]nonetype 질문drsungwon 2024-03-27 Powered by MangBoard | 워드프레스 쇼핑몰 망보드