편집 기록

편집 기록
  • 프로필 엽토군님의 편집
    날짜2019.10.02

    파이썬 질문이요


    numbers =[ ]
    
    for n in range(5):
    
        data=int(input('append(data):'))
    
            numbers.append(data)
    print(numbers)
    

    이렇게 코드를 짰더니

     Makefile:6: recipe for target 'py3_run' failed
    
    make: *** [py3_run] Error 1
    
      File "Main.out", line 5
    
        numbers.append(data):
                            ^
    TabError: inconsistent use of tabs and spaces in indentation
    

    ..라고 에러가 뜨네요;; 뭐가 문제인 건가요?

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

    파이썬 질문이요


    numbers =[ ]

    for n in range(5):

    data=int(input('append(data):'))
    
        numbers.append(data)
    

    print(numbers)

    이렇게 코드를 짰더니

    Makefile:6: recipe for target 'py3_run' failed

    make: *** [py3_run] Error 1

    File "Main.out", line 5

    numbers.append(data):
                        ^
    

    TabError: inconsistent use of tabs and spaces in indentation

    ..라고 에러가 뜨네요;; 뭐가 문제인 건가요?