From 4e48f047446b4a9d9c42c7b8e0bdfe7cf77fb407 Mon Sep 17 00:00:00 2001 From: Jeffrey Elkner Date: Mon, 10 Jul 2023 07:28:39 -0400 Subject: [PATCH] Add challenge 3 --- Summer-Time-W-Jeff/challenge3.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Summer-Time-W-Jeff/challenge3.py diff --git a/Summer-Time-W-Jeff/challenge3.py b/Summer-Time-W-Jeff/challenge3.py new file mode 100644 index 0000000..7f88d88 --- /dev/null +++ b/Summer-Time-W-Jeff/challenge3.py @@ -0,0 +1,7 @@ +from random import randint + + +num1 = randint(1, 10) +num2 = randint(1, 10) +question = "What is " + str(num1) + " times " + str(num2) + "? " +answer = int(input(question))