1 Line Code [Challange]

what can you do with just One and only One line of code.

2/14/2018 2:44:40 AM


5 Answers

New Answer


heres my biggest 1 liner... it prints all subsets even with all permutation... only basic keywords used... https://code.sololearn.com/cZ41Ge58z6zk/?ref=app


One liner function. https://code.sololearn.com/cZHqRVLoT4WX/?ref=app https://code.sololearn.com/cxBxlUXLwMwM/?ref=app


here I count vowels in input: https://code.sololearn.com/cTL8373r1y9L/?ref=app but much more can be done :p


Here's mine. A simple one. https://code.sololearn.com/cjM6Pf930FqP/?ref=app


You can put everything in a single line. (exept for single line comments...) Readability is just at -5/10 So whole games could fit into a single line...