title: How to check request.form.get value null or not in python flask?
body: <p><strong>I'm starting simple CURD operation with python Flask framework and i want to when user submit form how to check users selected value null or not?</strong></p>
  
  <p><em>I was tried this</em></p>
  
  <pre><code>if request.method == 'POST':
          Name = request.form.get('Name')
          city = request.form.get('City')
          if Name == '' and city == '':
              print('its null')
          else:
               print('success')
  </code></pre>
  
  <p>but when i'm submit without fill any value its give output</p>
  
  <pre><code>success
  </code></pre>
  
  <p>i'm also try None and null but can't work.</p>