+ 3
[python]PEP
Hye everybody. What is PEP 8? Can anyone tell me it's usage? It will be kinda good with examples.
7 Answers
+ 3
pep 8 is a format to write your code in.
keeps everything neat, uniform, readable, and professional.
examples of some of the rules:
*spaces between operators (4 + 2 not 4+2)
*if not in a class, seperate each user created function by 2 lines
*spaces in your iterables ([1, 2, 3] not [1,2,3])
+ 2
If you have pythone installed in your machine just add pip install "some package download usage"
+ 2
Ananaya Jemberu
I'm asking about PEP. Not about thr installation of pip.
Hope you'll again help me✌️
+ 2
That means Slick without using it a code can't be "neat,readable or professional"?
//Just a general query
+ 2
Nah not at all. This is just one of the many ways you can write your code. The point is to keep it uniform. If you write some code one way and other code another way, it just makes it harder on you or anybody that would read your codes later. You build your programs with the same format, they will be much easier to parse for human eyes
+ 1
Ohh it used to format python code



