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

제목step16 질문2020-05-27 22:40
작성자

mb-file.php?path=2020%2F05%2F27%2FF1200_%EC%BA%A1%EC%B2%98.PNG

mb-file.php?path=2020%2F05%2F27%2FF1201_%EC%BA%A1%EC%B2%98.PNG


문제가 이렇게 되어있는데요!

__str__ 메쏘드를 이용했으니
print할 때 
print(student1)
print(student2)
이렇게만 해도 되는 거 아닌가요? 그리고 이렇게 해야 __str__을 쓸 수 있는 거 아닌가요...??

 
댓글
이전중간보고서 제출 2020-05-28
다음[re]step16 질문2020-05-28