title: Python print both def instead of one, i want it to either answer to yes or no
body: <p>Hello im new to Python it's my first time trying to write something, i want this to be able to either answer to yes or no but when i type either yes or no it always print:</p>
  <p>nice</p>
  <p>oh no</p>
  <pre><code>def yes1(): 
     print(&quot;nice&quot;)
  
  def no1():
     print(&quot;oh no&quot;)
  
  input(&quot;Welcome are you ok ?\nyes/no:&quot;)
  
  yes = yes1
  yes1()
  
  no = no1
  no1()```
  </code></pre>