Skip to content

Commit 53ba849

Browse files
authored
Update JAGL.py
1 parent 6901182 commit 53ba849

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

JAGL/JAGL.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
i="""@Hello, World!
2-
#""";p=0;s=[];ts=[]
1+
i="""@Hello, World!|#""";p=0;s=[];ts=[]
32
while p!=len(i):
43
if i[p]=="@":
54
p+=1
6-
while i[p]!="\n":ts.append(i[p]);p+=1
5+
while 1:
6+
ts.append(i[p]);p+=1
7+
if i[p]=="\n" or i[p]=="|":break
78
while len(ts)>1:a=str(ts[0])+str(ts[1]);ts.pop(0);ts.pop(0);ts.reverse();ts.append(a);ts.reverse()
89
s.append(ts[0]);ts.pop
910
if i[p]=="#":s.reverse();print(s[0]);s.reverse();s.pop()
11+
if i[p]=="ƒ":s.reverse();print(s[0],end="");s.reverse();s.pop()
1012
p+=1

0 commit comments

Comments
 (0)