Skip to content

tejas27x/Fake-news-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Fake News Generator 🗞️

So this is a small Python script I made because I was bored and wanted to try something fun.
Basically, it creates random “breaking news” by mixing a name, some random action, and a place.
Nothing serious… just for fun. And yeah, it also speaks the news out loud using pyttsx3.

I’m learning Python right now, so this project was mainly to practice how loops, functions, and libraries work.
Surprisingly it turned out kinda funny, so I decided to put it here.


What it does

  • Picks a random celebrity
  • Picks a random action and location
  • Builds a news sentence
  • Reads it out loud
  • Keeps doing it until you say stop

How to run the project

1. Install the required library

pip install pyttsx3

2. Run the Python script

python news_generator.py


Project files

Fake-news-generator.py

README.md

requirements.txt

The requirements.txt file contains:

pyttsx3


Why I made this

Nothing big — just practicing Python basics like loops, random choices, functions, and working with a library.
Thought it would be cool to upload my first small project to GitHub.
Maybe I’ll add more actions, locations, or features later if I get ideas.

About

A simple Python script that generates funny random “breaking news” using names, actions, and places — with text-to-speech for extra chaos. My first Python learning project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages