Python Project for beginners| Quiz Game Project | Python for Beginners #lec96

preview_player
Показать описание
In this lecture we will create a Project in Python named "Quiz Game ".

*********************************************

Connect & Contact Me:

*******************************************

More Playlists:

#pythonprojects #projects #python #jennyslectures #pythonprogramming
Рекомендации по теме
Комментарии
Автор

Honestly, one random reel of your lecture made me to watch the entire series, previously i have gone through many videos in Udemy, etc.. but doesn't give me the enough confidence, really iam very thankful to you mam, expecting not to stop here going forward in depth of dsa, numpy, pandas etc..

harshachaukyareddy
Автор

Mm I am Russian. You are proud of your country.

dalzlex
Автор

Mam l am from japan your lecture are really helpful, 0:43

isdjhnx
Автор

Ma'am You are awesome, I have learnt a lot in this past 4-5 years by following you... I can't describe how helpful your videos are for me....🙏🙏🙏🙏🙏 A true teacher and a great person...may your all videos get millons of views....🎉🎉🎉🎉

ankitagupta
Автор

Any way i love you mam 🤣🤣, i live without reading but i couldn't live without watching your videos, 😁 not for studies, consider this point only 😎💥

rockybhai
Автор


print("Welcome to my Quiz Game!!!")

question_bank = [
"The ability of one class to acquire methods and attributes of another class is called ___.",
"Which of the following is a type of inheritance?",
"What type of inheritance has multiple subclasses to a single superclass?",
"What is the depth of multilevel inheritance in python?",
"What does MRO stands for?"
]

answers = ["A", "D", "C", "C", "B"]

options = [["A. Inheritance", "B. Abstraction", "C. Polymorphism", "D. Objects"],
["A. Single", "B. Double", "C. Multiple", "D. both A and B"],
["A. Multiple Inheritance", "B. MultiLevel Inheritance", "C. Hierarchical inheritance", "D. None of these"],
["A. Two level", "B. Three level", "C. Any level", "D. None of these"],
["A. Method Recursive Object", "B. Method Resolution Order", "C. Main Resolution Order",
"D. Method Resolution Object"]
]
score = 0
question_num = 0
for each_question in question_bank:

print(each_question)

for i in options[question_num]:
print(i)

guess = input("Enter your answer(A/B/C/D): ").upper()

if guess == answers[question_num]:
print("Correct")
score += 1

else:
print("Incorrect")
print(f"the correct answer is: {answers[question_num]}")
question_num += 1

print(f"your score is: {score}/{(question_num)}")
print(f"Final score is {score}")
print(f"score is {(score / len(question_bank)) * 100}%")

devSackey
Автор

Hi, Jenny thanks for your simple explanations I enjoy your teaching about file handling and will follow you definitely.

ernstkorner
Автор

Great moment today Ma'am happy independence day 🎊🎆

allthebestteachingbyrajesh
Автор

Thank you for creating interest and enthusiasm in Me 🥳

vijayanu
Автор

Mam you are doing good, please don't stop at advanced also, go as deeper as Python is

ruchitkmeme
Автор

You make learning programming easier, Thank you so much for the wonderful contents

bakeery
Автор

quiz_1 = {
"What is the purpose of the 'print()' function in Python?\n A) To input data from the user"
"\n B) To display output on the screen \n C) To declare variables": 'a',

"Which function is used to get input from the user in Python?\n A) get()"
"\n B) read()\n C) input()": 'c',

"How can you print the value of a variable 'x' to the console in Python?\n A) print(x)"
"\n B)console.log(x)\n C)display(x)": 'a',

"What does end parameter in the print() function allow you to specify?\n A) the number of times to print the value"
"\n B) The character(s) to append after the printed value\n C) he character(s) to prepend before the printed value":
'b',

"What is the default separator between multiple values passed to print()?\n A) Space\n B) Comma\n C) New Line": 'a'
}

end = False
print("Welcome to the quiz game")
while not end:
score = 0
attend_qn = 0
key = list(quiz_1.keys())
value = list(quiz_1.values())

for i in range(len(key)):
print(key[i])
user_input = input('Enter a Answer:').lower()
attend_qn += 1
if user_input == value[i]:
score += 1
print(f" Correct answer \n Your score is {score}/{attend_qn} %")
else:
print(f" Wrong answer \n Your score is {score}/{attend_qn}")
print(f"your percentage is {score/attend_qn*100}")
end = True

foodwithkalai
Автор

You are exellent be continue the world genius gril

ashikoyebone
Автор

Phython SQL & Django lectures please

saisujithmakke
Автор

Your T-shirt looks good on you.. I like it :) and thank you for the advice.

solven
Автор

Mam can you please teach us python library used in machine learning like numpy, pandas 🥺

inamulhaque
Автор

How about
ml and ai in python series ??

Guts
Автор

when will you upload remaining advanced concepts mam....?

revanth_richards
Автор

Madam please i think my solution is more easier

devSackey
Автор

make videos on deep learning & data science.

-fardoustahsin