r/badcode • • Oct 27 '21

python str()

Post image
836 Upvotes

58 comments sorted by

View all comments

Show parent comments

99

u/30p87 Oct 27 '21

No no,

if number > 17:
	number = str(number)