print(“Welcome to my computer quiz!”)
play =str.upper(input(“Do you want to play? <Yes/ No>”))
if play != “YES”:
quit()
print(“Let’s play:)”)
p=0
ans=input(“what does CPU stand for?”)
if ans.upper()==”CENTRAL PROCESSING UNIT”:
print(“Correct!”)
p+=1
else:
print(“Incorrect”)
ans=input(“what does GUI stand for?”)
if ans.upper()==”GRAPHICAL USER INTERFACE”:
print(“Correct!”)
p+=1
else:
print(“Incorrect”)
ans=input(“what does GPU stand for?”)
if ans.upper()==”GRAPHIC PROCESSING UNIT”:
print(“Correct!”)
p+=1
else:
print(“Incorrect”)
print(“Secured score”,p)