geekcomputers / geekcomputers/Python

acronym using python

Open
#2,731 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.