acronym using python

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

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
tooling

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.

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

Dominant language
Python
Stars
35.4k
Forks
12.9k
Avg merge
2h 37m
Merged PRs (30d)
1

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.

More from geekcomputers/Python

All issues in geekcomputers/Python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.