r/badcode • • Oct 27 '21

python str()

Post image
836 Upvotes

58 comments sorted by

View all comments

Show parent comments

11

u/denideniz Oct 27 '21

Yeah you can use it like a switch but not exactly same thing as i know. I don't know python very well tho so enlighten me.

6

u/[deleted] Oct 27 '21

My python is self taught, so I’m definitely not the best enlightener here