Skip to content

Conversation

@hemant933
Copy link

I added a if name == "main": guard to ensure that the script's main functionality is only executed when the script run directly, not when it's imported as a module.

I replaced the use of args in the global scope with function parameters, making the code more modular and easier to understand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant