1. Write some Python code below to create a graphical user interface (GUI) that has the following elements:

  • A title that says "Voting reminder signup form"
  • Labels for name, email address, and voter registration status
  • Corresponding text boxes for name and email address
  • A dropdown for voter registration status with options for "Registered" and Not registered - ensure that the user cannot type in any options other than these two
  • A button that says "submit"

Please design your GUI in a grid so that each label clearly corresponds to the matching text box or dropdown. Please use a "plum" background color for your window and labels. When the button is clicked:

  • If the user is registered, show an informational messagebox stating that their email has been added to the database.
  • If the user is not registered, show a warning messagebox stating that the user needs to register to vote before they can be added to the database.

2. Write some Python code to create a class for circles that has the following elements:

  • When creating a new circle, the user should provide the circle's x coordinate, y coordinate, and radius.
  • Create a method that computes and prints the area for a circle ( PI * radius 2 ).
  • Create a method that computes and prints the circumference for a circle (2 * PI * radius).
  • When a circle object is printed, ensure that the following two-line report would be printed:
Coordinates: (*x coordinate*, *y coordinate*)
Radius: *radius*
  • If two circle objects are compared using ==, ensure that they would be considered to be the same if they have the same x coordinate, the same y coordinate, and the same radius.
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.