편집 기록

편집 기록
  • 프로필 정토드님의 편집
    날짜2016.06.07

    IndentationError 오류가 납니다.


    def quotient(a, b):
        if b == 1:
            return a
        else:
            if a > b:
               a = a - b
               p = p + 1
              else:
                  return p
    
            return quotient(a, b)
    

    이렇게 하면 IndentationError: unindent does not match any outer indentation level 이런 오류가 뜹니다 어떻게 하면 좋을까요?

  • 프로필 허대영(소프트웨어융합대학)님의 편집
    날짜2016.06.07

    오류가 납니다ㅠㅠㅠㅠㅠ


    def quotient(a, b):
        if b == 1:
            return a
        else:
            if a > b:
               a = a - b
               p = p + 1
              else:
                  return p
    
            return quotient(a, b)
    

    이렇게 하면 IndentationError: unindent does not match any outer indentation level 이런 오류가 뜹니다 어떻게 하면 좋을까요?

  • 프로필 알 수 없는 사용자님의 편집
    날짜2016.06.07

    오류가 납니다ㅠㅠㅠㅠㅠ


    def quotient(a, b): if b == 1: return a else: if a > b: a = a - b p = p + 1 else: return p

        return quotient(a, b)
    

    이렇게 하면 IndentationError: unindent does not match any outer indentation level 이런 오류가 뜹니다 어떻게 하면 좋을까요?