radio button pyqt

# import it from PyQt5.QtWidgets and

# Example is at link below:

Here is what the above code is Doing:
1. Create a radio button.
2. Connect the radio button to a method.
3. When the radio button is clicked, the method is called.
4. The method checks to see if the radio button is checked.
5. If the radio button is checked, it prints a message.
6. If the radio button is not checked, it does nothing.