UTSAVS26 / PySnippets

Collection of reusable Python code snippets for all.
https://sites.google.com/view/pysnippets/
MIT License
28 stars 70 forks source link

[Feature Request]: String Manipulation Utility in Python with Test Cases #30

Open anurags10 opened 2 weeks ago

anurags10 commented 2 weeks ago

Is there an existing issue for this?

Feature Description

This Python script provides five essential string manipulation functions for common operations such as reversing a string, counting vowels, converting a string to uppercase and lowercase, and checking if a string is a palindrome. Each function is designed to handle various edge cases, such as ignoring spaces, punctuation, and case sensitivity where applicable. The script also includes example usage that demonstrates how each function works on a sample string.

A separate test file (test_string_manipulation.py) is provided to verify the correctness of the functions using the unittest framework. The tests cover typical use cases and edge cases to ensure robustness.

Record

github-actions[bot] commented 2 weeks ago

🙌 Thank you for bringing this issue to our attention! We appreciate your input and will investigate it as soon as possible.

Feel free to join our community on Discord to discuss more!

UTSAVS26 commented 2 weeks ago

@anurags10 you first raise a PR and then issue, so how I am gonna evaluate as it is preferred to raise issue first and assign it to yourself then PR.

anurags10 commented 2 weeks ago

@UTSAVS26 sorry my bad can you please let me know how to proceed with this issue?

UTSAVS26 commented 2 weeks ago

I will check the PR and if it valid i will merge it for now only but for future please remember to first create a issue then when we assign it to you then only work on it.

UTSAVS26 commented 2 weeks ago

@anurags10 You are GSSOC and Hacktoberfest contribution right?

anurags10 commented 2 weeks ago

@UTSAVS26 yes and going forward will take care. Thanks