title: how can I fix this code (username and password)while loop
body: <pre><code>username = "chicken"
  password = "monkeys"
  print("Welcome to example")
  answer1 = input ("Do you have an example account(Please type yes or no)?")
  if answer1 == "yes":
  username == input("please input username")
  password == input("Please input your password")
  while username and password == True:
      print("access granted")
          while username or password == False:
      print("access denied")
  </code></pre>
  
  <p>This code is working but it keeps saying access granted continuously </p>