Skip to content

Fix: Resolved list of letters taking up space of code #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

drishtisubhedar
Copy link

This PR solves the issue where the lists of letters and number are taking up a big amounts of spaces in the code unnecessarily.
This improves the unnecessary use of lines for listing out all of the characters.

Implementation:
Python provides with useful functions like ascii_letters and digits through the string module. So instead of writing the list of letters in so many lines one by one, the function only takes up one line and does the same thing.

Checklist:

  • Reduces number of lines for listing letters.
  • Considers all the letters and special characters.

Sorry, something went wrong.

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.

None yet

1 participant