2 Antworten
+ 1
The ability to write short programs that are just as powerful as a program written in another language designed to do the same thing. However, it is sometimes fun to try and write a program in Python that is only one line. In other languages this would be nearly impossible, but in Python it is a lot easier to do. The trick is to think up something that will "do a lot with a little." I, personally, would love to see this page expanded to the point where it needs some sort of organization system.
0
It is simple to write a one liner program with python. you just need to write code like normal but then instead of clicking enter just put a semi-colon and keep on writing.