Skip to content

London | 26-Jul-SDC | Roman Sanaye | Sprint 4 | Implement Cowsay in Python - #621

Open
RomanSanaye wants to merge 2 commits into
CodeYourFuture:mainfrom
RomanSanaye:implement-cowsay-in_python
Open

London | 26-Jul-SDC | Roman Sanaye | Sprint 4 | Implement Cowsay in Python#621
RomanSanaye wants to merge 2 commits into
CodeYourFuture:mainfrom
RomanSanaye:implement-cowsay-in_python

Conversation

@RomanSanaye

Copy link
Copy Markdown

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

Implemented a Python version of the cowsay command-line application.

Features

  • Accepts a message as a command-line argument.
  • Supports selecting an animal using the --animal option.
  • Uses argparse to parse command-line arguments.
  • Displays the message using the selected animal.
  • Defaults to the cow character when no animal is specified.

The implementation follows the assignment requirements and has been tested with different messages and supported animal options.

@RomanSanaye RomanSanaye added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jul 28, 2026
@github-actions

Copy link
Copy Markdown

Results of test:
Unexpected cowsay output for 'Grass, delicious'.
Unexpected cowsay output for --animal turtle Fish are cool!
Expected python3 cow.py --help to include dragon as it's one of the animal options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant