Skip to content

anand-prabu/fortune-cookie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Fortune Cookie 🍪

A simple Python script that gives you a random, uplifting fortune cookie message each time you run it. Perfect for beginners learning Python or anyone who wants a daily dose of inspiration!


Features

  • Presents a random fortune from a collection of positive, motivational messages.
  • Prompts the user to try again for another fortune.
  • Friendly, interactive command-line experience.

How to Use

  1. Clone or Download this repository.
  2. Make sure you have Python installed (version 3.x recommended).
  3. Run the script in your terminal or command prompt:
    python fortune_cookie.py
    
  4. Enter your name when prompted.
  5. Receive your fortune! Choose whether to try again or exit.

Sample Output

Enter your name: Siddarth Hey Siddarth ! Here is your fortune for today: Adventure awaits you just around the corner. Want to try again? (Y/N): Y Hey Siddharth ! Here is another fortune cookie for today: Your creativity will inspire those around you. text


Why This Project?

  • Practice: Great for learning basic Python concepts like lists, functions, user input, and randomization.
  • Inspiration: Share a smile or a motivational message with yourself or friends.
  • Portfolio: A simple but effective project to showcase on your GitHub!

License

This project is licensed under the MIT License—see the LICENSE file for details.


Contributions

Pull requests and suggestions are welcome! If you have new fortune ideas or want to improve the script, feel free to contribute.


Enjoy your daily fortune! ✨

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages