This script produces absurd breaking-news headlines by randomly combining a subject, an action verb, and a place or thing. It runs in a loop — printing one headline, waiting one second, then asking if you want another. Use it for creative writing prompts, placeholder content, or a quick laugh.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/muhammadalamzeb/python_projects/llms.txt
Use this file to discover all available pages before exploring further.
How to run
How headlines are built
Each headline follows the pattern:Subjects
- Shahrukh Khan
- Virat Kohli
- Nirmala Sitharaman
- A Cat
- A Group of Monkeys
- Prime Minister
- Auto Rickshaw Driver from Sukkur
Actions
- launches
- cancels
- dances with
- eats
- declares war on
- orders
- celebrates
Places / things
- at Red Fort
- in Sukkur Local Train
- a plate of Samosa
- inside parliament
- sukkur local market
- during a cricket match
- a plate of biryani
How the loop works
- A headline is printed immediately when the script starts.
- The script pauses for 1 second (
time.sleep(1)). - You are prompted:
Continue Y/N: - Type
Y(ory) to generate another headline, or anything else to exit.