편집 기록

편집 기록
  • 프로필 ...님의 편집
    날짜2021.08.11

    TypeError: unsupported operand type(s) for -: 'list' and 'int' 왜 이렇게 뜰까요


    키 = list(range(150,180,3))
    표준몸무게 = (키 - 100) * 0.9
    for i in range(10):
        print(i + 1, 키[i], "cm", 표준몸무게, "kg")
    

    ![이미지][1]

    [1]: https://res.cloudinary.com/eightcruz/image/upload/v1622874501/hnjzv3jscdcdznyhjtqr.png

  • 프로필 nowp님의 편집
    날짜2021.08.11

    TypeError: unsupported operand type(s) for -: 'list' and 'int' 왜 이렇게 뜰까요


    키 = list(range(150,180,3))
    표준몸무게 = (키 - 100) * 0.9
    for i in range(10):
        print(i + 1, 키[i], "cm", 표준몸무게, "kg")![이미지][1]
    
  • 프로필 알 수 없는 사용자님의 편집
    날짜2021.06.05

    TypeError: unsupported operand type(s) for -: 'list' and 'int' 왜 이렇게 뜰까요


    키 = list(range(150,180,3)) 표준몸무게 = (키 - 100) * 0.9 for i in range(10): print(i + 1, 키[i], "cm", 표준몸무게, "kg")이미지