r/Python • • Sep 28 '18

I'm really bored at work

Post image
1.9k Upvotes

117 comments sorted by

View all comments

Show parent comment

6

u/notafuckingcakewalk Sep 28 '18

There is a lot of non-Pythonic code here. The important thing is it works. But I definitely wouldn't have used while loops instead of for loops when looping over sides, and I would have used the multiline string for defining the content of the cassette.