일반적으로 python 코드를 파일로 만들때는 확장자를 '.py'로 해야함 그리고 cmd창에서 'python 파일명.py'를 입력하여 개발자가 만든 코드를 수행함 외부 입력으로 코드가 수행하게 구현 가능할 수도 있음 #caluator.py def calculator_all(input1,input2, mode): if mode == '+': print(input1 + input2) elif mode == '-': print(input1 - input2) elif mode == '*': print(input1 * input2) elif mode == '/' and input2 != 0: print(input1 / input2) else: print('colculator is not operated') imp..