Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 571 Bytes

checklist.md

File metadata and controls

25 lines (17 loc) · 571 Bytes

Check Your Code Against the Following Points

Code Style

  1. Use descriptive and correct variable names.

Good example:

def get_full_name(first_name: str, last_name: str) -> str:
    return f"{first_name} {last_name}"

Bad example:

def get_full_name(x: str, y: str) -> str:
    return f"{x} {y}"
  1. Avoid nested if by using and, or logical operators.

Clean Code

Add comments, prints, and functions to check your solution when you write your code. Don't forget to delete them when you are ready to commit and push your code.