Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 10
There's no such thing as a best line of code that one would normally use. The idea doesn't really make sense. It's like asking what's your best sentence to use when writing a research paper.
30th Mar 2020, 10:56 PM
David Carroll
David Carroll - avatar
30th Mar 2020, 7:50 PM
Avinesh
Avinesh - avatar
+ 3
What Avinesh said. And I guess I am a very big fan of Python's comprehensions.
30th Mar 2020, 10:40 PM
HonFu
HonFu - avatar
+ 1
you mean like onliners or things that are often used?
30th Mar 2020, 7:49 PM
Anton Böhler
Anton Böhler - avatar
0
Um... i++; Most often used, but probably doesn't help you much.
2nd Apr 2020, 4:19 AM
Jared Bird
Jared Bird - avatar