title: How to count how many times the user has typed the wrong answer (Python)
body: <p>I am pretty new to python, soo, yeah.
  Basically i have this:</p>
  
  <pre><code>import time
  import sys
  
  def delay_print(s):
      for c in s:
          sys.stdout.write( '%s' % c )
          sys.stdout.flush()
          time.sleep(0.10)
  
  name=input("What's your name?")
  question1=input("How many centimeters are one meter?")
  if question1=="100":
  print("Correct!")
  question2=input("How many meters in a centimeter?")
  if question2=="0.001": 
      print("Correct!") 
  import os 
  time.sleep(1)
  os.system('cls') 
  time.sleep(1)
  delay_print("Calculating results...")
  time.sleep(3)
  print("Good job,", name, "!")
  </code></pre>
  
  <p>and i am asking questions: to be precise 2.
  So i want to keep track of how many times the user has got a question wrong so at the end i can display how many questions were right, and how many wrong.
  Then i want to show a specific message:
  For when all of them are right, the one that i have already typed.
  For when one is right and one wrong i want to type:
  "Not bad (name), but be more careful!"
  And last but not least, when he/she gets it all wrong:
  "Oh man! That is very bad (name)! Be more careful!"</p>