From c9bd99cf4c777a847e017c4b75e2bdf8ffca12a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raphael=20Ohne=20H=C3=A4nde?= Date: Thu, 21 May 2026 12:36:03 -0400 Subject: [PATCH] Fixed magic8.py file by importing the proper required library --- magic8.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/magic8.py b/magic8.py index c02c7c2..d047226 100644 --- a/magic8.py +++ b/magic8.py @@ -1,3 +1,5 @@ +import random + name = "Joe" question = "Will I win the lottery?" answer = "" @@ -27,4 +29,4 @@ answer = "Error" print(name + " asks: " + question) -print("Magic 8 Ball's answer: " + answer) +print("Magic 8 Ball's answer: " + answer) \ No newline at end of file