2017-01-01から1年間の記事一覧
タイトルそのまま。 import math global stack stack = [] numbers = map(str, range(0,10)) operators = ["+", "-", "/", "*"] def clear_stack(): for i in range(len(stack)): stack.pop() def concat(st): out = "" for i in range(0, len(st)): tmp = s…