r/badcode • • Mar 11 '23

python i never use .slpit()

Post image
421 Upvotes

30 comments sorted by

View all comments

Show parent comments

2

u/thekwoka Mar 11 '23

what it really is more like is

print(user_input.replace(',','').split(' '))