i am after a python Graphical User Interface (GUI) for the question shown in the image: the GUI must implement the following code: #creating function def account(): # taking input for amount deposited 'p' p = int(input('Enter number of deposited amount:$')) # taking input for stated interest rate 'r' r = float(input(' Enter stated interest rate: ')) # taking input for coumpounding interest 'm' m = int(input(' Enter compounding interest: ')) # Now calculating account balance account_balance = p*(1+(r/m))**m print(account_balance) # Now calculating Annual percentage yield (APY) APY = (1+(r/m)**m)-1 # if in case account balance comes greater than 1000$ than it will calculate APY if account_balance > 1000: print(APY) account() as well as it must have all these: Use the Grid element • Add Label elements throughout your GUI. • Use the Background Colour property. • Allow a user to select choices from an either list box, drop-down menu, or scroll-down menu element. Allow a user to input the data using an entry widget. • Output data using an entry widget. • Allow a user to click on a Calculate button that triggers any calculation. • Allow a user to press an Exit or Quit button to properly close the program. • GUI Design. Is it simple to use and easy to understand? • Program is written using well-defined functions. • Program code layout. Separate blocks of code by a blank line. • The program must have an introduction (about the module, not the topic). • Business rules are met. That is, your code solves the problem you are proposing (or at least contributes to its solution). it must be a fully working Graphical User Interface (GUI)..!!!!
i am after a python Graphical User Interface (GUI) for the question shown in the image:
the GUI must implement the following code:
#creating function def account():
# taking input for amount deposited 'p' p = int(input('Enter number of deposited amount:$'))
# taking input for stated interest rate 'r' r = float(input(' Enter stated interest rate: '))
# taking input for coumpounding interest 'm' m = int(input(' Enter compounding interest: '))
# Now calculating account balance account_balance = p*(1+(r/m))**m print(account_balance)
# Now calculating Annual percentage yield (APY) APY = (1+(r/m)**m)-1
# if in case account balance comes greater than 1000$ than it will calculate APY if account_balance > 1000:
print(APY) account()
as well as it must have all these:
Use the Grid element
• Add Label elements throughout your GUI.
• Use the Background Colour property.
• Allow a user to select choices from an either list box, drop-down menu, or scroll-down menu
element.
Allow a user to input the data using an entry widget.
• Output data using an entry widget.
• Allow a user to click on a Calculate button that triggers any calculation.
• Allow a user to press an Exit or Quit button to properly close the
• GUI Design. Is it simple to use and easy to understand?
• Program is written using well-defined functions.
• Program code layout. Separate blocks of code by a blank line.
• The program must have an introduction (about the module, not the topic).
• Business rules are met. That is, your code solves the problem you are proposing (or at least
contributes to its solution).
it must be a fully working Graphical User Interface (GUI)..!!!!
Step by step
Solved in 2 steps