title: How can I print True or False as "pass" or "fail"?
body: <p>I am making a piece of simple code in Python that uses a boolean logic test to assess whether the mark entered is a pass or fail. I have managed to get the print function to show the result of the boolean test, but I want to display the word pass or fail dependent on the outcome of the test (which is a <code>simple &gt;=65</code> is a <strong>pass</strong>, the <em>rest</em> is <strong>fail</strong>). </p>
  
  <p>Please could someone let me know how I can achieve this? (instead of the output showing True or False I want to display Pass or Fail)?</p>
  
  <p>Code:</p>
  
  <pre><code>number1 = int (input('please enter mark: '))
  
  if number1&gt;=65:
      number1result= True
  else:
      number1result= False
  
  print ("the result is", number1result)
  </code></pre>