title: How to have multiple statement for every condition in an if function?
body: <p>I am writing a code in python 3.5.4 that requires more than one statement for every condition that I set in an if clause
  for example:</p>
  
  <pre><code>a=10
  b=20
  c=30
  n=int(input('please enter a number: '))
  if n&gt;0:
      print(d=a+b)
      print(e=a-b)
      print(f=a*b)
  else:
      print(0)
  </code></pre>
  
  <p>But if the first condition is met, only first statement is implemented.
  please tell me how to implement all 3 lines. </p>