r/shittyprogramming • u/CVh655FDBcZ1l • Apr 10 '19
One Line of Code™
https://gist.github.com/WorryingWonton/ce8a3a74b0298f0b734fe4dd0a883a63
101
Upvotes
r/shittyprogramming • u/CVh655FDBcZ1l • Apr 10 '19
View all comments
Show parent comment
7
u/K900_ Apr 10 '19
A friend and I once wrote an interactive simulator for the wolf, goat and cabbage riddle in one line of Python for a bet with one of our students (we taught a programming workshop for high schoolers). I wish I still had the source code to that - it was glorious.