title: I need help changing the color of text in python
body: <p>Hey I need help with coloring the text in a program I am making. It is a password program and I am trying to make the denied and granted red and green when they appear. Here is the program so far:</p>
  
  <pre><code>password = {"joseph":"jesus"}
  
  print ("Welcome")
  username = input("Please enter your username: ")
  if username in password:
      print ("Granted.")
      mypassword = input ("Please enter your password: ")
      if mypassword == password[username]:
          print ("Granted.")
          answer = input("Do you like it? ")
          if answer == ("yes"):
              print ("I thought you would.")
          elif answer == ("no"):
              print ("I guess I could do better.")
          else:
              print ("Error!")
      else:
          print ("Denied!!!")
  else:
      print ("Denied!!!")
  
  input("Press enter to quit")
  </code></pre>