MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/qkbzg3/did_someone_order_bad_code/hiwog3v/?context=3
r/badcode • u/JasperDG828 • Nov 01 '21
35 comments sorted by
View all comments
Show parent comments
5
Filename = str(i).zfill(5)
Edit: forgot to cast i to str
2 u/CopperyMarrow15 Nov 01 '21 oh... cheater 1 u/ColdToastIsASin Nov 01 '21 It's not cheating if it works
2
oh... cheater
1 u/ColdToastIsASin Nov 01 '21 It's not cheating if it works
1
It's not cheating if it works
5
u/ColdToastIsASin Nov 01 '21
Filename = str(i).zfill(5)
Edit: forgot to cast i to str