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

제목[중간과제 3번] 출력 방식 질문2020-05-01 19:16
작성자

3번 시작할 때 


def isPrime(num, L): 


이렇게 되어있고, 그 밑에 # Implement the function here 라고 적혀있잖아요. 이 주석 밑에

코드를 입력해야 하나요?


그리고 그 밑에 답 확인란에


ans = isPrime(8,[])  # This cell is for your confirmation, can be removed.

print(ans)           # If correctly implemented, [1,2,4,8] is printed first, and False is printed at the next line


라고 되어있는데, 첫번째 줄에 이 셀은 지워도 된다고 했잖아요. 그러면 첫번쨰 줄을 지우고


print(isPrime(8,[])) 만 적어도 괜찮다는 뜻이죠??

댓글
이전[중간과제2번]2020-05-01
다음[re][중간과제 3번] 출력 방식 질문2020-05-01