This commit is contained in:
2023-11-24 20:40:00 +01:00
parent 2a136311d0
commit b67983d10c
7 changed files with 214 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
s = "/code showtime"
alphabet = "0123456789abcdefghijklmnopqrstuvwxyz .,-!?+*'<>#@$€§%&/()[]0"
last_letter = "1"
output = []
for h in s:
int_h = int(alphabet.index(h))
int_ll = int(alphabet.index(last_letter))
diff = int_h - int_ll
sym = ""
if diff > 0:
sym = ">"
if diff < 0:
sym = "<"
if diff == 0:
pass
for i in range(abs(diff)):
print(sym)
if diff != 0:
print("!")
else:
pass
last_letter = h
pass
print("p")

View File

@@ -0,0 +1,4 @@
for i in range(100):
print(">")
print("!")
print("p")