+4

1 Line Code [Challange]

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

2/14/2018 2:44:40 AM

Nikhil Soni

5 Answers

New Answer

+5

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

+6

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

+5

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

+5

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

+2

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...