Python Code Checker
Copy and paste your program into the field below.
Run the checker to see possible errors and style problems!
See style guide below.
Python Style Guide
Here is a list of design issues to
completely avoid:
- Break statements
- Continue statements
- Pass statements
- Global variables
- Magic numbers
- Recursion (a function calling itself)
- Functions defined inside of functions (nesting)
- Multiple return statements per function
- Return statements nested under if statements, while loops, for loops, etc.
- No main function
- Main function that accepts arguments
- Main function appearing somewhere other than the first declared function
- Not having functions in addition to main
- Use of exit() or quit()