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
OlgaM077 [116]
3 years ago
10

Create a Python program to solve a simple pay calculation.

Computers and Technology
1 answer:
Travka [436]3 years ago
6 0

Answer:

def weeklyPaid(hours_worked, wage):  

   if hours_worked > 40:  

       return 40 * wage + (hours_worked - 40) * wage * 1.5

   else:  

       return hours_worked * wage  

 

 

hours_worked = 50

wage = 100

 

pay = weeklyPaid(hours_worked, wage)  

 

print(f"Total gross pay: Rs.{pay:.2f} ")

Explanation:

provides gross pay

You might be interested in
Commercial websites have domain names so that users can easily access the web pages by typing the domain names instead of the IP
WINSTONCH [101]

The given statement is true.

<u>Explanation:</u>

IP address is really tough to remember by each and everyone, and even if you misspell one number, then the navigation will not go for the desired website. It is equivalent to remember phone numbers during the earlier days. As said the domain name has 4 parts.

They are,  

  • TLD – Top level domain (eg: .com, .org, .net, etc) .
  • Mid level domain – It is the part that comes after www keyword which is before the Top level domain name.
  • www is the machine name which is common for all the domain. It is a standard that needs to be used.
  • Second level domain .
8 0
3 years ago
Four parts of the compuet mouse​
Musya8 [376]
Answer: buttons, motion detection, scroll wheel and connections
7 0
3 years ago
Https://forms.gle/eP8F5eKC2AUaCsB67
Deffense [45]

Answer:

NO .THATS NOT A GOOD QUESTIONS.

Explanation:THOSE R PERSONAL

3 0
3 years ago
Which of the following is NOT a factor of identifying graphic design?
kolezko [41]

Answer:

i think it is a

Explanation:

sorry if it is wrong

4 0
3 years ago
Read 2 more answers
I’m buying a prebuilt pc once I get it and set it up, what do I need to install on it?
jarptica [38.1K]
First thing you want to install are the drivers for your GPU and CPU if they aren’t automatically installed. Just search the specific GPU or CPU and download them from the company websites. You can see your CPU and GPU by opening System Configuration or System. You also want to install the latest Windows defender updates as well as Windows updates. Once you have these completed, you should be all set. If anyone wants to add anything specific, feel free to comment below.
7 0
3 years ago
Other questions:
  • Give three facts about the history of the train shongololo
    9·1 answer
  • Build a state diagram for the “book” based upon the following information of the library.
    6·1 answer
  • Write methods to do the following: a. Display three full lines of asterisks on the screen. b. Accept as an argument your name, a
    5·1 answer
  • Many loop control variable values are altered by ____ or adding to them
    11·1 answer
  • Write a program in C++ or C that includes two different enumeration types and has a significant number of operations using the e
    15·1 answer
  • Start with the following Python code. alphabet = "abcdefghijklmnopqrstuvwxyz" test_dups = ["zzz","dog","bookkeeper","subdermatog
    13·1 answer
  • The first form of the rocket is believed have been developed in _?
    14·2 answers
  • 20. The following are considered as ICT skills EXCEPT
    15·1 answer
  • Hey how was your day 50 points
    10·2 answers
  • A technician is testing a connector in a circuit with a voltmeter. With the power on in the circuit, the meter reads 12 volts wh
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!