Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 20 additions & 13 deletions Bugs/script.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
# Fortune Cookie Program 🥠
# Who Wants To Be A Millionaire 💰

import random
score = 0

fortune = random.randint(0, 4)
option1 = 'Fresca'
option2 = 'V8'
option3 = 'Coke'
option4 = 'A&W'

print("For ordering his favorite beverages on demand, LBJ had four buttons installed in the Oval Office labeled 'Coffee', 'Tea', 'Coke', and what?\n")

if fortune == 0:
print("May you one day be carbon neutral")
elif fortune == 1:
print("You have rice in your teeth")
elif fortune == 2:
print("No snowflake feels responsible for an avalanche")
elif fortune == 3:
print("You can only connect the dots looking backwards")
elif fortune == 4:
print("The fortune you seek is in another cookie")
print("A.", option1)
print("B.", option2)
print("C.", option3)
print("D.", option4)

answer = 'a'

if answer == 'A' or answer == 'a':
score += 100
print("\nCorrect!")
else:
print("\nNope, sorry!")