Timely commit

This commit is contained in:
Geoffrey Frogeye 2020-06-28 11:23:02 +02:00
parent 8d85bd63da
commit 6cdd924613
4 changed files with 98 additions and 2 deletions

18
config/scripts/spongebob Executable file
View file

@ -0,0 +1,18 @@
#!/usr/bin/env python
import sys
import random
# maj = True
for line in sys.stdin:
new_line = ""
for c in line:
maj = random.random() > 0.5
if maj:
nc = c.upper()
else:
nc = c.lower()
new_line += nc
# maj = not maj
print(new_line, end="")