r/Python • • Jan 05 '18

Really??

Post image
2.0k Upvotes

317 comments sorted by

View all comments

Show parent comments

3

u/Printern Jan 06 '18

Yeah but Python forces you to write lines. In java you can code in one line One line<more than one line Dummy

4

u/Raijinili Jan 06 '18

What's stopping you from doing exec("import sys\nimport re\n\ndef someFunc(x,y):\n\t ...?

2

u/KingoPants Jan 06 '18

Sanity seems important. At that point you might as well code in mspaint for the kicks.