강의

멘토링

커뮤니티

Inflearn Community Q&A

martinj's profile image
martinj

asked

[After Work Side Projects] Big Data Analytics Engineer Practical Exam (Task Types 1, 2, 3)

Frequently Used Python Examples

파이썬 함수 질문

Resolved

Written on

·

467

1

  • 안녕하세요!! 좋은 강의 재밌게 수강하고 있습니다.

  • 아래 이미지와 같이, 최대값-최소값 문제를 접근했는데, 이상한 에러가 발생하네요...

  • 문제가 되는 부분이 어디일까요??

python머신러닝빅데이터pandas빅데이터분석기사

Answer 1

1

roadmap님의 프로필 이미지
roadmap
Instructor

에러 메세지를 보면 max_min과 관련해서 문제가 있음을 알 수 있어요!

max_min함수에는 괄호안에 파라미터(data)가 들어가게 정의되어 있는데

마지막 print함수에는 함수명만 작성이 되어 있습니다.

 

  1. 방법1

    1. result = max_min(list_box)

    2. print(result)

  2. 방법2

    1. print(max_min(list_box))

martinj's profile image
martinj

asked

Ask a question