반응형 계산기21 [파이썬] [SWEA] 1223. [S/W 문제해결 기본] 6일차 - 계산기2 swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV14nnAaAFACFAYD SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com T = 10 for tc in range(1,T+1): N = int(input()) emp = input() emp_int = '' emp_temp = [] for str in emp: if str == '*': emp_temp.append(str) elif str == '+': while emp_temp: emp_int += emp_temp.pop() emp_temp.append(str) else: emp_i.. 2021. 2. 25. 이전 1 다음 반응형