Who knows about python one liner coding? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Who knows about python one liner coding?

Python one liner

31st Mar 2020, 6:28 AM
Sasinindu Sandev
Sasinindu Sandev - avatar
2 Answers
+ 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.
31st Mar 2020, 10:18 AM
💡Arno Gevorgyan 🐍
💡Arno Gevorgyan 🐍 - avatar
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.
30th May 2020, 7:50 PM
Random Programmer
Random Programmer - avatar