title: How to have multiple conditions for one if statement in python
body: <p>So I am writing some code in python 3.1.5 that requires there be more than one condition for something to happen. Example:</p>
  
  <pre><code>def example(arg1, arg2, arg3):
      if arg1 == 1:
          if arg2 == 2:
              if arg3 == 3:
                  print("Example Text")
  </code></pre>
  
  <p>The problem is that when I do this it doesn't print anything if arg2 and arg3 are equal to anything but 0. Help?</p>