title: If-else statement with 4 QRadioButton
body: <p>I want make an if-else statement script with 4 radio buttons:</p>
  
  <pre><code>radioButton_1, radioButton_2, radioButton_3, radioButton_4
  </code></pre>
  
  <p>and here is my code:</p>
  
  <pre><code>def rb_check(self):
   rb_list=[radioButton_1, radioButton_2, radioButton_3, radioButton_4]
   for rb in rb_list:
      if radioButton_1.isChecked():
          print("You choose number 1")
      else radioButton_2.isChecked():
          print("You choose number 2")
      else radioButton_3.isChecked():
          print("You choose number 3")
      else radioButton_4.isChecked():
          print("You choose number 4")
  </code></pre>
  
  <p>Is my code correct?</p>