日if _main name main() e def main(): first= input("Enter your first name:") last= input ("Enter yout last name:") current_annual_salary= float(input("Enter your current annual salary")) print(str("New salary for", first + last, ":", current_annual_salary) 20 23 def new(): if current < 40000: below 4k= current + (current .05) else: above 4k= 2000 + ((-02 current_annual_salary) + current_annual_salary %23 main()

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter6: Arrays
Section: Chapter Questions
Problem 10PE
icon
Related questions
Question
How do you fix this?
-if
_main
name
==
main()
def main():
first= input("Enter your first name:")
last= input ("Enter yout last name:")
current_annual_salary= float(input("Enter your current annual salary"))
print(str("New salary for", first + last, ":", current_annual_salary)
20
23 def new():
if current < 40000:
below 4k= current + (current
else:
.05)
above_4k= 2000 + ((-02
current_annual_salary) + current_annual_salary
main()
Program Quiz 1.py
module1 :
ialized ***
Transcribed Image Text:-if _main name == main() def main(): first= input("Enter your first name:") last= input ("Enter yout last name:") current_annual_salary= float(input("Enter your current annual salary")) print(str("New salary for", first + last, ":", current_annual_salary) 20 23 def new(): if current < 40000: below 4k= current + (current else: .05) above_4k= 2000 + ((-02 current_annual_salary) + current_annual_salary main() Program Quiz 1.py module1 : ialized ***
Expert Solution
Step 1

The solution for the above given program is given below:

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage