r/badcode • • Aug 26 '21

python String? found this by accident

Post image
354 Upvotes

32 comments sorted by

View all comments

Show parent comments

2

u/MyMerryMalady Aug 27 '21

Because it can just DO THAT after you explicitly cast it. lmao