Answer: Question is not clear ,But an example python code is below..
Using only Beginner Level IF-ELIF,ELSE,NESTED IF statements :)
Explanation:
print("Welcome To Quizzy Quizes")
print("Q 1. Do elephants bath everyday?")
x=str(input("Enter Yes/No :"))
if x == 'yes':
print("correct answer!!")
else :
print("Wrong ,try again")
a= str(input("Do you want to Continue Playing?"))
if a == 'yes':
print("Loading...")
else:
exit()
print("Q.2 have you ever had been too serious that u had street Fight with someone?")
y = str(input("enter yes/no:-"))
if y == 'yes':
print("WHY SO SERIOUS? HEHE")
else :
print("Why so Poor,Have some fight !")
print("Q.2 Hero or villain for a day? ")
z = str(input("enter Answer:"))
if z == "hero":
print("Which SuperHero ?")
b = str(input("Enter Answer:"))
print("Great Selection, Now Save the World")
if z == "villain":
print("Which Villain?")
c = str(input("Enter Villain name:"))
print("great selection , Now get ready to destroy the world")