Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def greeting():
- name=""
- print ("Welcome to the BLAH BLAH QUIZ.")
- while (len(name)==0):
- name=input("Enter name")
- print("Hi",name,"Let's begin!")
- questions()
- def questions():
- score=0
- question1=input("What is the capital of Germany?")
- if question1 == "Berlin":
- print ("correct")
- score+=1
- else:
- print ("Incorrect")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement