Question: Write a Python program that ask the user to enter their salary last year and this year. After that, add the two salaries together. Then

Write a Python program that ask the user to enter their salary last year and this year. After that, add the
two salaries together. Then display 60% of the sum of the salaries.
Example:
Please enter your salary from last year: 40000
Please enter your salary from this year: 60000
60% of both salaries combined is: 60000
**Note: Please save your solution as problem1.py
2. Write a Python program that ask the user to enter an integer. After that, determine if the number entered
is even or odd.
Example:
Please enter an integer: 2023
The number you entered is odd
**Note: Please save your solution as problem2.py
3. Write a Python program that ask for an integer from 1 to 7. Then display the number in English. If the
user enters a number that is not from that range, give them an error message.
Example 1:
Please enter an integer from 1 to 7: 4
You entered four
Example 2:
Please enter an integer from 1 to 7: 12
The number you entered is not in the range of 1 to 7
**Note: Please save your solution as problem3.py
Submission Note: Please make sure you zip your files together and name the zip file
codingproblem1_FirstNameLastName.zip. Please make sure you comment your code where necessary for full
credit.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!