source Code
Python | calculator.py
[calculator.py] import tkinter as tk from turtle import st # GUI 설계 후 # 내부 logic 설계 disvalue = 0 operator = {'+':1, '-':2, '/':3, '*':4, 'C':5, '=':6} stovalue = 0 opPre = 0 def number_click(value) : # print('숫자 ', value) global disvalue disvalue = (disvalue * 10) + value str_value.set(disvalue) def operator_click(value) : # print('명령 ', value) global disvalue,operator, stovalue, opPre op = oper..