Skip to content

Conversation

@LeonLemeshko
Copy link

Leon's Magic 8-Ball Implementation

This pull request adds my custom Magic 8-Ball Python script with the following features:

Features:

  • 12 unique answers, including custom humorous responses
  • Empty string validation for both name and question inputs
  • Random testing functionality for edge cases
  • Custom error messages with fun responses

Custom Answers Include:

  • Standard Magic 8-Ball responses
  • "It's possible, maybe tomorrow"
  • "It depends on the weather"
  • "As long as your wife is not home."

Technical Details:

  • Located in 2-control-flow/magic-8-ball/leon-magic8Ball.py
  • Implements random number generation
  • Handles edge cases for empty inputs
  • Uses Python f-string formatting

This completes the Codecademy Magic 8-Ball project assignment.

@CLAassistant
Copy link

CLAassistant commented Nov 12, 2025

CLA assistant check
All committers have signed the CLA.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants