[프로그래머스] 튜플
https://programmers.co.kr/learn/courses/30/lessons/64065
ref: https://hazung.tistory.com/103
풀이
import re
def solution(s):
answer = []
s = s.split('},{')
s = [re.sub('[{}]', '', c) for c in s]
s = [list(map(int, c.split(','))) for c in