1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Sergeu [11.5K]
3 years ago
12

Write a python program that will accept monthly salary amounts greater than zero but less

Computers and Technology
1 answer:
Naily [24]3 years ago
3 0

Answer:

b=0

c=0

lol=list()

while True:

   salary=input("Enter your salary: ")

   if salary=="e" or salary=="E":

       print("Thankyou!!")

       break

   else:

       a=int(salary)

       if a>=300000 and a<=400000:

            c=c+1

       if a<0 or a>400000:

           print("Your salary is either too small or too big ")

       if a>0 and a<=400000:

           a=a-(25/100*a)-(5/100*a)-(2/100*a)

           lol.append(a)

           b=b+1

           if a>=300000:

                c=c+1

print(lol)

print("The number of salaries entered is: "+ str(b))

print("The number of salaries that exceeded 300000 is: "+str(c))

You might be interested in
Match each of the following terms to its definition:
Bingel [31]

I=B

II=C

III=E

IV=D

V=A

I have to write a bunch of extra things otherwise it won't let me post the answer lol.

7 0
3 years ago
Which is NOT one of the basic characteristics of life? What feature of Microsoft
polet [3.4K]

Answer: Mail Merge

Explanation:

The feature of Microsoft Word that allows an individual to efficiently create documents that have the same general

content but may have different recipients or purpose is referred to as the Mail Merge

It should be noted that other options such as Send Merge, Print Merge and View Merge is wrong. Therefore, the correct option is A

5 0
3 years ago
What is 8 hours, 5 minutes, 22 seconds minus (-) 7 hours, 24 minutes, 37 seconds?
olga_2 [115]

Answer:

Enter time 1 HH:MM:SS8:5:22                                                                                                    

Enter time 2 HH:MM:SS7:24:37                                                                                                  

0:40:45

Explanation:

The program for above in Python is:

from datetime import datetime

s1 = input("Enter time 1 HH:MM:SS")

s2 = input("Enter time 2 HH:MM:SS")

Format1 = '%H:%M:%S'

tdiff = datetime.strptime(s1, Format1) - datetime.strptime(s2, Format1)

print(tdiff)

We are using the datetime class in datetime module for using strptime to find the difference between the two times.

3 0
4 years ago
You have been asked to improve on the web page you created for NewYou Personal Training. You will use the file you created for T
34kurt

Answer:

See explaination

Explanation:

<!DOCTYPE html>

<html lang="en" dir="ltr">

<head>

<meta charset="ut f-8">

<title>Tutorial Project 1</title>

<style type="text/css">

p{

font-family: Georgia, serif;

}

</style>

<link rel="stylesheet" type="text/css" href="project3style.css">

</head>

<body>

<img src="images/logo.jp g" alt="New You Personal Training Banner">

<h2>Welcome to NewYou Personal Training</h2>

<h3>Our services include:</h3>

<h3>Call today to speak to one of our fitness specialists</h3>

<section>

<p style="color: darkorange;font-weight: 900;">

<ul>

<li> Fitness evaluations with optimal 360&#176; Computerized Body Profile.</li>

<li> Complete individualized training plan with free workout schedule calendar.</li>

<li> Private workout guidance provided daily to help you meet your personal goals.</li>

<li> Complimentary diet and nutrition counseling. </li>

<li> Email and text messaging reminders to help keep you on track.</li>

<li> Workout group sessions for those who prefer to exercise in a group setting.</li>

</ul>

</p>

<p>

<b><i>All fitness and nutrition services can be provided at our brand new facility or in the privacy of your own home or office. </i></b>

</p>

</section>

<section>

<p>

<h r>

<blockquote>

I was struggling to lose weight after the birth of my second child. My friend recommended NewYou, and after the first three months I

had lost 3 0 pounds. Thanks to the personal attention from their trainers and counselors, I’ve been able to keep the weight off for two

years. I’m in the best shape of my life!

<b r>

<cite>—Justine Reynolds, Cleveland</cite>

</blockquote>

<h r/>

</p>

</section>

<section>

<address>

NewYou Personal Training, 3451 West Oxmoor Avenue, Cleveland, TN 37311. (555) 639-9681 or (555) NEW-Y OU1

</address>

</section>

</body>

</html>

project3style.css : ---------->>>>>>>>

/* your name Project 3 */

body{

margin: 50px;

font-family: sans-serif;

background-color: bisque;

}

h2{

color:darkblue;

font-size: 2em;

}

h3{

color: green;

background-color: lightblue;

}

address{

color: red;

text-align: center;

font-style: italic;

font-variant: small-caps;

font-weight: 700;

font-size: 12pt;

line-height: 24pt;

}

blockquote{

background-color: gold;

width: 600px;

padding: 20px;

}

li{

text-transform: capitalize;

line-height: 2;

color: green;

}

3 0
3 years ago
True or False
umka2103 [35]

Answer:

true

Explanation:

qqqqqqqqqqqqqqqqqqqq

3 0
3 years ago
Other questions:
  • Introduction to graphic design please help! Define the four terms: design ,art,decoration , and visual literacy. Describe how th
    12·1 answer
  • Three IT Companies. Help me please!
    5·2 answers
  • "Write a program that calculates the balance of a savings account at the end of a period of time. It should ask the user for the
    15·1 answer
  • What component of a processor handles all logical comparisons and calculations inside the processor?
    9·1 answer
  • A bank has reworked its mortgage application process so that several steps are handled by computer software, and some steps are
    11·1 answer
  • W t f is a ground fault circuit interrupter?
    6·2 answers
  • Which setting is used to determine the order of printing pages?
    15·1 answer
  • What is difference between reserved and user defined word
    9·1 answer
  • What is computer system<br>explain the role of bank in computer<br>​
    15·2 answers
  • Plz help me I will mark as the brainlest I only need long answer plz help me ​
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!