Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- score=0
- name=input("Enter your name")
- print ("Hello", name)
- koreaCapital="Seoul"
- q1=input("what is the capital of Korea?")
- if q1==koreaCapital:
- print ("correct")
- score=score+1
- else:
- print("Ha HA! Incorrect")
- helloAnswer="hello"
- q2=input("what does 안녕 mean in English?")
- if q2==helloAnswer:
- print ("correct")
- score=score+1
- else:
- print("incorrect, the answer is Hello")
- print(name,"your score is",score)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement