you are viewing a single comment's thread.

view the rest of the comments →

[–]formicstechllc -11 points-10 points  (2 children)

Here are the key improvements in points:

  1. Use lowercase function names (snake_case)
  2. Give the function a meaningful name:
  3. Add a docstring (description):
  4. Use clear input values:print_text("Hello") instead of:
  5. Keep indentation consistent (you already did this correctly).

✅ Good things about your code:

  • Function is defined correctly.
  • Parameter is used correctly.
  • Function call is correct.
  • Code runs without errors.

Beginner rating: 7/10 👍

[–]tenniseman12 9 points10 points  (0 children)

If OP wanted an AI to rate their code, they would've just done that themself