finally finished stonks

This commit is contained in:
Maxime Vorwerk
2024-06-05 18:43:15 +02:00
parent eec8ec4147
commit f5eb82885e
3 changed files with 169 additions and 0 deletions

10
stonks/sol.py Executable file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/python
with open("data", 'r') as f:
lines = f.readlines()
for line in lines:
value = int(line.strip(), 16)
for _ in range(4):
print(chr(value%256), end='')
value >>= 8