Skip to content

yposwal2/Quiz-Game-Using-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Quiz Game using Python

Description

This code is a Python program that implements a quiz game with five multiple-choice questions.The program begins with a welcome message and prompts the user to choose whether they want to play the quiz game or not. If the user enters 'N', the program exits, otherwise, it starts the game. The game consists of five questions, and for each question, the program prompts the user with the question and waits for an answer. If the user answers correctly, the program increments the 'count' variable by 1 and prints a "Correct!" message. Otherwise, it prints an "Incorrect!" message. After all five questions have been asked, the program prints a message thanking the user for playing and displays the number of correct answers they got out of 5.

Note: The code for this project is saved as 'Project.py' in this repository.

Utilities Used

  • Visual Studio Code
  • Python extension for Visual Studio Code

Program Results

Output I
Disk Sanitization Steps

Output II
Disk Sanitization Steps

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages