geekcomputers / geekcomputers/Python
acronym using python
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 35.4k
- Forks
- 12.9k
- Avg merge
- 2h 37m
- Merged PRs (30d)
- 1
Description
Simple Acronym Generator
def generate_acronym(phrase):
words = phrase.split() # Split the phrase into words
acronym = ""
for word in words:
acronym += word[0].upper() # Take the first letter of each word
return acronym
Example usage
phrase = "Python Yields Terrific Hacking Opportunities Now"
print(generate_acronym(phrase)) # Output: PYTHON
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the acronym generator code included in the issue and determine how it is intended to fit into this Python examples repository. Confirm the expected input and output, then consider the issue complete only when the repository contains a clear, runnable acronym example matching that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100