Skip to content

Commit 6e65102

Browse files
authored
Update tpy.py
1 parent e1f419c commit 6e65102

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

true/tpy.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@
2424
elif i[p]=="`":s.append(int(s.pop())*-1)
2525
elif i[p]=="(":
2626
while i[p+1]!=")":ts.append(i[p+1]);p+=1
27-
ts.reverse()
28-
while len(ts)>1:ts.append(ts.pop()+ts.pop())
29-
ld.append(ts.pop());p+=1
27+
ld.append("".join(ts))
3028
elif i[p]=="[":
3129
while i[p]!="]":p+=1
3230
if len(i)-1==p:

0 commit comments

Comments
 (0)