inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

프로그래밍, 데이터 과학을 위한 파이썬 입문

– Code Assignment: Basic Operations

무엇이 잘못 되었을까요?

220

미뇨비

작성한 질문수 3

0

음.. 제가 문제를 잘못 이해한건지 모르겠으나,

우선 제가 파악한 대로 한 후, submit 을 실행하면 위에 형변환은 pass가 나오지만, 나머지 사칙연산 라인은 fail로 나옵니다.

무슨 문제일까요?

# string과 string 더하기================================================

def add_string_string(str_1, str_2):

    result = add_string_string(str_1, str_2)

    return result

# 사칙연산==============================================================

def associative_law_add(a, b, c):

    result = commutative_law(a, b, c)

    return result

def associative_law_mutiple(a, b, c):

    result = associative_law_mutiple(a, b, c)

    return result

def distributive_law(a, b, c):

    result = distributive_law(a, b, c)

    return result

# 지수연산=============================================================

def exponent(base, power):

    result = exponent(base, power)

    return result

python bigdata

답변 1

0

미뇨비

해결되었습니다!제가 잘못 이해했네요

atom warning 글

0

333

0

backend.ai 설치 오류

0

314

0

backend.ai 설치 시 에러 발생

0

737

1

과제 제출 시 hash key is already used 문제 발생

0

444

0

install.bat 오류

0

477

0

과제 제출 시 hash key is already used. 해시키 문제 문의 드립니다.

0

305

1

"Hash key is already used."으로 인한 과제 제출 실패 문의

0

299

1

과제 제출 시 에러가 발생합니다

0

267

1

인트로 강의가 없습니다

0

178

0

사진 링크가 깨져있습니다

0

266

0

slack아직 사용할 수 있는건가요?

0

171

0

강의자료

0

395

4

'backend.ai'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는 배치 파일이 아닙니다.

0

435

2

에러확인부탁드립니다.

0

255

1

number of cases 코드 질문

0

202

1

split 관련 질문입니다!

0

226

1

함수 definition 관련 질문입니다.

0

294

1

is_digit 함수 구현

0

304

1

Map & Reduce 강의 8분 15초

1

230

1

keyword parameter

0

236

1

submit.bat 오류

0

191

2

matrix_transpose 결과값이 뭐죠?

0

174

0

value를 넣으면 key를 반환하는 함수

0

126

0

첨부파일의 unit test는 어떻게 사용하나요?

0

263

0