Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

📰 Fake News Headline Generator

Get ready for a ridiculous ride into the world of completely made-up news! This Python project generates hilarious and absurd fake news headlines across a variety of themes like space, politics, sports, tech, and myths.


🚀 Features

  • Choose from 5 wild genres:
    • Space
    • Politics
    • Sports
    • Tech & AI
    • Myths & Paranormal
  • Randomly generated headlines that make zero sense (in the best way possible)
  • Fun emoji-filled user experience
  • Simple, readable Python code - great for beginners

⚙️ How It Works

  • When the program starts, it prompts you to generate a fake news headline.
  • You choose one of five genres.
  • The program randomly selects a headline from that genre's pool and displays it.
  • You can generate multiple headlines by repeating the process.

🛠️ Requirements

  • Python 3.x
  • No external libraries needed

🚀 How to Run

  1. Clone or download the repository

  2. Open your terminal and navigate to the project folder

  3. Run the script using Python:

    python fake_headline_generator.py
    

📌 Sample Output

📰 Welcome to the Fake News Headline Generator!
Generate a fake news headline? (y/n): y
Here is the list of Genres:
Space
Politics
Sports
Tech&Ai
Myths&Paranormal
Enter your choice of genre: tech&ai
🗞️Headline: NASA make peace with Martian disco clubs

🎯 What I Learned

  • Writing reusable functions in Python
  • Generating random content with the random module
  • Handling user input and validating choices
  • Building interactive terminal-based programs
  • Making coding fun and creative!

🤖 Credits

Made by a 💻 and 😂 by Toshaksha, powered by Python and pure nonsense.