From 0611461fc38288e407608ba524417af52d4f7f72 Mon Sep 17 00:00:00 2001 From: Aditya Gupta <95540416+iadi37@users.noreply.github.com> Date: Sat, 15 Apr 2023 18:54:59 +0530 Subject: [PATCH] added emojis To make the quiz a little more eye-catching and interesting added some emoticons. --- quiz_game.py | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/quiz_game.py b/quiz_game.py index 082b9be..16525c1 100644 --- a/quiz_game.py +++ b/quiz_game.py @@ -1,40 +1,41 @@ -print("Welcome to my computer quiz!") +print("Welcome to my computer quiz! 🙌") -playing = input("Do you want to play? ") + +playing = input("Do you want to play? 🧐 ") if playing.lower() != "yes": quit() -print("Okay! Let's play :)") +print("Okay! Let's play 🤩") score = 0 answer = input("What does CPU stand for? ") if answer.lower() == "central processing unit": - print('Correct!') + print('Correct!🥳') score += 1 else: - print("Incorrect!") + print("Incorrect!😥") answer = input("What does GPU stand for? ") if answer.lower() == "graphics processing unit": - print('Correct!') + print('Correct!🥳') score += 1 else: - print("Incorrect!") + print("Incorrect!😥") answer = input("What does RAM stand for? ") if answer.lower() == "random access memory": - print('Correct!') + print('Correct!🥳') score += 1 else: - print("Incorrect!") + print("Incorrect!😥") answer = input("What does PSU stand for? ") if answer.lower() == "power supply": - print('Correct!') + print('Correct!🥳') score += 1 else: - print("Incorrect!") + print("Incorrect!😥") -print("You got " + str(score) + " questions correct!") -print("You got " + str((score / 4) * 100) + "%.") \ No newline at end of file +print("You got " + str(score) + " questions correct! 😎") +print("You got " + str((score / 4) * 100) + "%. 🤩")