If you know there is a logic error somewhere inside a function, how can you figure out the exact location?

Automate Cybersecurity Tasks with Python | Weekly challenge 4 Quiz | 

If you know there is a logic error somewhere inside a function, how can you figure out the exact location?

  • Place print statements in and around the function
  • Move the function to another location
  • Delete the function from the program
  • Write comments in and around the function

 

Leave a Comment