filmov
tv
How To Make Quiz Game | Using Python | Beginners Python Project |

Показать описание
Hi guys, in this video I'm going to show you how to make a Quiz Game using python. so if you like this video, please Subscribe to my channel for more programming-like content.
Code:-
The Quiz Game
print("welcome To My Quiz Game :)")
playing = input("Do You Want To Play: ")
if playing != "Yes".lower():
quit()
print("Okay! Let's play :)")
answer = input("What Does CPU stand For? : ")
if answer == "Central processing unit".lower():
print("Yay !! That is Correct :) ")
else:
print("Oops !! That is Incorrect :(")
answer = input("What is the best programming language for competitive Coding? : ")
if answer == "C++".lower():
print("Yay !! That is Correct :) ")
else:
print("Oops !! That is Incorrect :(")
answer = input("What is the best programming language for Android Development? : ")
if answer == "Java and Kotilin".lower():
print("Yay !! That is Correct :) ")
else:
print("Oops !! That is Incorrect :(")
answer = input("What is the best programming language for IOS App? : ")
if answer == "Swift".lower():
print("Yay !! That is Correct :) ")
else:
print("Oops !! That is Incorrect :(")
print("Thanks For Playing :)")
#python
#QuizGame
Thank You For Watching :)
Code:-
The Quiz Game
print("welcome To My Quiz Game :)")
playing = input("Do You Want To Play: ")
if playing != "Yes".lower():
quit()
print("Okay! Let's play :)")
answer = input("What Does CPU stand For? : ")
if answer == "Central processing unit".lower():
print("Yay !! That is Correct :) ")
else:
print("Oops !! That is Incorrect :(")
answer = input("What is the best programming language for competitive Coding? : ")
if answer == "C++".lower():
print("Yay !! That is Correct :) ")
else:
print("Oops !! That is Incorrect :(")
answer = input("What is the best programming language for Android Development? : ")
if answer == "Java and Kotilin".lower():
print("Yay !! That is Correct :) ")
else:
print("Oops !! That is Incorrect :(")
answer = input("What is the best programming language for IOS App? : ")
if answer == "Swift".lower():
print("Yay !! That is Correct :) ")
else:
print("Oops !! That is Incorrect :(")
print("Thanks For Playing :)")
#python
#QuizGame
Thank You For Watching :)