r/ProgrammerHumor • • Aug 26 '20

Python goes brrrr

Post image
59.2k Upvotes

789 comments sorted by

View all comments

1.3k

u/itoshkov Aug 26 '20

This is multiplying string by number. Multiplying strings would look like 'abc' * 'de'. Python goes kaput.

16

u/Acalme-se_Satan Aug 26 '20

I take it you haven't seen Julia yet.

11

u/neil-lindquist Aug 26 '20

I mean, Julia just uses * for Python's string addition and ^ for Python's string-int multiplication. So, it's really the same thing, just changing the operator symbol.

→ More replies (5)