From 2b36fcab3b4be6323ddc59afddfe2e8dbe8dc9c2 Mon Sep 17 00:00:00 2001 From: Nischay mrzn <129774293+Nischaymrzn@users.noreply.github.com> Date: Mon, 28 Oct 2024 12:05:51 +0545 Subject: [PATCH] Create get_random_quote.py --- Python/get_random_quote.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Python/get_random_quote.py diff --git a/Python/get_random_quote.py b/Python/get_random_quote.py new file mode 100644 index 0000000..d2dc013 --- /dev/null +++ b/Python/get_random_quote.py @@ -0,0 +1,4 @@ +import random +quotes = ["Keep going!", "You can do it!", "Believe in yourself!"] +def get_random_quote(): + return random.choice(quotes)