You are viewing a single comment's thread. Return to all comments →
Reduced form
l=[] for i in range(int(input())): cmd,*arg=(input()).split() eval("l."+cmd+"("+",".join(arg)+")") if cmd!="print" else print(l)
Seems like cookies are disabled on this browser, please enable them to open this website
Equal
You are viewing a single comment's thread. Return to all comments →
Reduced form