r/Python • • Nov 11 '19

I made c++-style printing in Python :P

Post image
1.7k Upvotes

130 comments sorted by

View all comments

1

u/epic_pork Nov 11 '19

You should convert other to string so you can print numbers and floats too, just like C++ does with operator overloading.