What is useful for The Zen of Python? And how to use in program? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is useful for The Zen of Python? And how to use in program?

I know to use the zen of python in import this, but question what is useful for the Zen of python?

8th Jul 2018, 4:22 PM
Sarmad Saad
Sarmad Saad - avatar
8 Answers
+ 4
Basically it is a collection of design principles about the language. Its utility is simply to expose the things that are preferred when designing the code base of a program. It does not have a really practical use (that is, it does not add any functionality that you can use), but it's really nice to expose those things
8th Jul 2018, 5:24 PM
Mickel
Mickel - avatar
+ 2
This is a important rule of python programming.Means how we should think and make a programme in simple way.You can say it is just a conventions which help us to make better programme.
8th Jul 2018, 5:49 PM
Maninder $ingh
Maninder $ingh - avatar
+ 2
Sarmad Saad learn every line of Zen in deep then you can find it.
8th Jul 2018, 6:03 PM
Maninder $ingh
Maninder $ingh - avatar
+ 2
import this
9th Jul 2018, 12:34 AM
Maninder $ingh
Maninder $ingh - avatar
+ 1
thanks for this information how to way used write in program Python? Maninder Singh
8th Jul 2018, 6:00 PM
Sarmad Saad
Sarmad Saad - avatar
+ 1
Thanks Maninder Singh last question can i used( imported this) in program python?
8th Jul 2018, 6:10 PM
Sarmad Saad
Sarmad Saad - avatar
0
yes
9th Jul 2018, 12:40 AM
Sarmad Saad
Sarmad Saad - avatar
0
what is this link Gina Ulfa
9th Jul 2018, 8:06 AM
Sarmad Saad
Sarmad Saad - avatar