import tkinter as tkfrom tkinter import messagebox# 주요 색상 설정BG_COLOR = "#2C3E50"BTN_COLOR = "#E74C3C"HOVER_COLOR = "#C0392B"TEXT_COLOR = "#ECF0F1"# 버튼 호버 효과 함수def on_enter(e): e.widget['background'] = HOVER_COLORdef on_leave(e): e.widget['background'] = BTN_COLOR# 계산기 기능def calculate(): try: expression = entry.get() result = eval(expression) entry.delete(0, tk.END) ..