title: Boolean operators: Branching using Boolean variables ( python)
body: <p>I'm working on a homework question and I'm having a terrible time getting it to return the final statement correctly. </p>
  
  <p>Instruction:</p>
  
  <blockquote>
    <p>Write an expression that prints 'You must be rich!' if the variables
    young and famous are both True.</p>
  </blockquote>
  
  <p>Code (I'm only able to update the if statement):</p>
  
  <pre><code>young = True
  famous = False
  if (young == 'True') and (famous == 'True'):
      print('You must be rich!')
  else:
      print('There is always the lottery...')
  </code></pre>
  
  <p>My initial thoughts are the combination in the code above, but I'm desperate and I've tried all the combinations below as well:</p>
  
  <pre><code>if (young != 'True') and (famous == 'True'): 
  if (young == 'True') and (famous != 'True'): 
  if (young == 'True') and (famous != 'False'): 
  if (young == 'True') or (famous == 'True'): 
  if (young == 'True') or (famous != 'True'): 
  if (young == 'True') or (famous == 'True'): 
  if (young == 'True') or (famous != 'False'):
  </code></pre>
  
  <p>The results:</p>
  
  <p>Testing with young and famous as both False <br/>
  Your output:    There is always the lottery... <br/><br/>
    Testing with young as True and famous as False<br/>
  Your output:    There is always the lottery... <br/><br/>
    Testing with young as False and famous as True<br/>
  Your output:    There is always the lottery... <br/><br/>
  ✖   Testing with young and famous as both True<br/>
  Expected output:    You must be rich!   <br/>Your output:   There is always the lottery... </p>