Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

README.md

Python

Choose a random number

def random_number():
	return 4

PEP 8 -- Style Guide for Python Code

A foolish consistency is the hobgoblin of little minds

AlliedCrowds follows The Pocoo Style Guide, which follows PEP 8. The below amends and overrides each.

Use double quotes " around strings that are used for interpolation or that are natural language messages, and single quotes ' for small symbol-like strings.

Example:

language = {

    'english' : "Hey, what's up?"

    'british' : "Hey, are you alright?"

}

When dealing with a natural language string with quotes, use single quotes.

Docstrings on everything à la PEP 257