-
카테고리
-
세부 분야
프로그래밍 언어
-
해결 여부
미해결
무엇이 잘못 되었을까요?
19.11.05 23:03 작성 조회수 119
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
답변을 작성해보세요.
0
답변 1