#python #anaconda #jupyter-notebook #visual-code #html #css #javascript #http

제목step 08 module 질문2023-01-02 22:16
작성자

step 8에서 Step_08_SampleModule_convertor.py 파일에

def convert_to_fahrenheit(celsius):

    return (celsius * 1.8) + 32

다음과 같이 추가한 후 파일을  save 했습니다. 그 이후에 실습자료에서 

from Step_08_SampleModule_convertor import convert_to_fahrenheit

convert_to_fahrenheit(100) 이렇게 입력하고 실행했는데도 에러가 뜨는데 왜 뜨는지 모르겠습니다. 에러가 안뜨게 하려면 어떻게 해야할까요? 

댓글