SlideShare a Scribd company logo
1 of 1
please write the program in python 3 language and make sure it is working correctly
Exercise 1: Write a program that reads in the hourly wage of an employee and the number of
hours he or she worked in the past week. Your program will compute and display the pay. Any
overtime work (over 40 hours per week) is paid at 150 percent of the regular wage. Note: - You
need to define the overtime limit (40 hours) and the overtime factor (1.5) as constants. Sample
run 1: Enter the hourly wage: 10.0 Enter the number of hours worked: 35 The pay will be 350.00
SAR for 35 hours of work. Sample run 2: Enter the hourly wage: 10.0 Enter the number of hours
worked: 50 The pay will be 550.00 SAR for 50 hours of work.

More Related Content

More from madalynbb3ja

please help me Hamid Enterprise Trial Balance for the Month of Julu 2.docx
please help me  Hamid Enterprise Trial Balance for the Month of Julu 2.docxplease help me  Hamid Enterprise Trial Balance for the Month of Julu 2.docx
please help me Hamid Enterprise Trial Balance for the Month of Julu 2.docxmadalynbb3ja
 
Please help fill in the missing code below in order for it run correct.docx
Please help fill in the missing code below in order for it run correct.docxPlease help fill in the missing code below in order for it run correct.docx
Please help fill in the missing code below in order for it run correct.docxmadalynbb3ja
 
please help The master production schedule (MPS) is the source of all.docx
please help  The master production schedule (MPS) is the source of all.docxplease help  The master production schedule (MPS) is the source of all.docx
please help The master production schedule (MPS) is the source of all.docxmadalynbb3ja
 
please help raw a graph showing the change in membrane potential as a.docx
please help  raw a graph showing the change in membrane potential as a.docxplease help  raw a graph showing the change in membrane potential as a.docx
please help raw a graph showing the change in membrane potential as a.docxmadalynbb3ja
 
Please create a journal entry & adjusting entries 12) Only part of th.docx
Please create a journal entry & adjusting entries  12) Only part of th.docxPlease create a journal entry & adjusting entries  12) Only part of th.docx
Please create a journal entry & adjusting entries 12) Only part of th.docxmadalynbb3ja
 
Please Answer this 4- List three of the advantages of reflecting teles.docx
Please Answer this 4- List three of the advantages of reflecting teles.docxPlease Answer this 4- List three of the advantages of reflecting teles.docx
Please Answer this 4- List three of the advantages of reflecting teles.docxmadalynbb3ja
 
please answer these two question- Thank you- will for sure like- Aprre.docx
please answer these two question- Thank you- will for sure like- Aprre.docxplease answer these two question- Thank you- will for sure like- Aprre.docx
please answer these two question- Thank you- will for sure like- Aprre.docxmadalynbb3ja
 
Please answer all 6 of the following ICD 10 codes for the following di.docx
Please answer all 6 of the following ICD 10 codes for the following di.docxPlease answer all 6 of the following ICD 10 codes for the following di.docx
Please answer all 6 of the following ICD 10 codes for the following di.docxmadalynbb3ja
 
Please answer All Requlred Information -The following information app.docx
Please answer All  Requlred Information -The following information app.docxPlease answer All  Requlred Information -The following information app.docx
Please answer All Requlred Information -The following information app.docxmadalynbb3ja
 
Plants with genotype BbRryy are intercrossed- Calculate the following.docx
Plants with genotype BbRryy are intercrossed- Calculate the following.docxPlants with genotype BbRryy are intercrossed- Calculate the following.docx
Plants with genotype BbRryy are intercrossed- Calculate the following.docxmadalynbb3ja
 
pl answer (a) When can liquid metals be used as heat transfer media- -.docx
pl answer (a) When can liquid metals be used as heat transfer media- -.docxpl answer (a) When can liquid metals be used as heat transfer media- -.docx
pl answer (a) When can liquid metals be used as heat transfer media- -.docxmadalynbb3ja
 
Physiological symptoms of Jimsonweed include all EXCEPT Photophobia -&.docx
Physiological symptoms of Jimsonweed include all EXCEPT Photophobia -&.docxPhysiological symptoms of Jimsonweed include all EXCEPT Photophobia -&.docx
Physiological symptoms of Jimsonweed include all EXCEPT Photophobia -&.docxmadalynbb3ja
 
Pester Company transferred the following assets to a newly created sub.docx
Pester Company transferred the following assets to a newly created sub.docxPester Company transferred the following assets to a newly created sub.docx
Pester Company transferred the following assets to a newly created sub.docxmadalynbb3ja
 
Perception and Individual Decision Makingwhich biasvare you most likel.docx
Perception and Individual Decision Makingwhich biasvare you most likel.docxPerception and Individual Decision Makingwhich biasvare you most likel.docx
Perception and Individual Decision Makingwhich biasvare you most likel.docxmadalynbb3ja
 
Per my textbook GAAP does not allow recognition of a restructuring pro.docx
Per my textbook GAAP does not allow recognition of a restructuring pro.docxPer my textbook GAAP does not allow recognition of a restructuring pro.docx
Per my textbook GAAP does not allow recognition of a restructuring pro.docxmadalynbb3ja
 
PeopleWeighti- java-18- error- not a statement for (int i-1-i-arr-1eng.docx
PeopleWeighti- java-18- error- not a statement for (int i-1-i-arr-1eng.docxPeopleWeighti- java-18- error- not a statement for (int i-1-i-arr-1eng.docx
PeopleWeighti- java-18- error- not a statement for (int i-1-i-arr-1eng.docxmadalynbb3ja
 
You may have heard about the accounting scandals of the early 2000s th.docx
You may have heard about the accounting scandals of the early 2000s th.docxYou may have heard about the accounting scandals of the early 2000s th.docx
You may have heard about the accounting scandals of the early 2000s th.docxmadalynbb3ja
 
You may recall the criminal trial of O- J- Simpson- Opinion regarding.docx
You may recall the criminal trial of O- J- Simpson- Opinion regarding.docxYou may recall the criminal trial of O- J- Simpson- Opinion regarding.docx
You may recall the criminal trial of O- J- Simpson- Opinion regarding.docxmadalynbb3ja
 
You live in Omaha- and you are a secret agent- You need to send a thre.docx
You live in Omaha- and you are a secret agent- You need to send a thre.docxYou live in Omaha- and you are a secret agent- You need to send a thre.docx
You live in Omaha- and you are a secret agent- You need to send a thre.docxmadalynbb3ja
 
You have located the following information on Webbs Heating & Air Cond.docx
You have located the following information on Webbs Heating & Air Cond.docxYou have located the following information on Webbs Heating & Air Cond.docx
You have located the following information on Webbs Heating & Air Cond.docxmadalynbb3ja
 

More from madalynbb3ja (20)

please help me Hamid Enterprise Trial Balance for the Month of Julu 2.docx
please help me  Hamid Enterprise Trial Balance for the Month of Julu 2.docxplease help me  Hamid Enterprise Trial Balance for the Month of Julu 2.docx
please help me Hamid Enterprise Trial Balance for the Month of Julu 2.docx
 
Please help fill in the missing code below in order for it run correct.docx
Please help fill in the missing code below in order for it run correct.docxPlease help fill in the missing code below in order for it run correct.docx
Please help fill in the missing code below in order for it run correct.docx
 
please help The master production schedule (MPS) is the source of all.docx
please help  The master production schedule (MPS) is the source of all.docxplease help  The master production schedule (MPS) is the source of all.docx
please help The master production schedule (MPS) is the source of all.docx
 
please help raw a graph showing the change in membrane potential as a.docx
please help  raw a graph showing the change in membrane potential as a.docxplease help  raw a graph showing the change in membrane potential as a.docx
please help raw a graph showing the change in membrane potential as a.docx
 
Please create a journal entry & adjusting entries 12) Only part of th.docx
Please create a journal entry & adjusting entries  12) Only part of th.docxPlease create a journal entry & adjusting entries  12) Only part of th.docx
Please create a journal entry & adjusting entries 12) Only part of th.docx
 
Please Answer this 4- List three of the advantages of reflecting teles.docx
Please Answer this 4- List three of the advantages of reflecting teles.docxPlease Answer this 4- List three of the advantages of reflecting teles.docx
Please Answer this 4- List three of the advantages of reflecting teles.docx
 
please answer these two question- Thank you- will for sure like- Aprre.docx
please answer these two question- Thank you- will for sure like- Aprre.docxplease answer these two question- Thank you- will for sure like- Aprre.docx
please answer these two question- Thank you- will for sure like- Aprre.docx
 
Please answer all 6 of the following ICD 10 codes for the following di.docx
Please answer all 6 of the following ICD 10 codes for the following di.docxPlease answer all 6 of the following ICD 10 codes for the following di.docx
Please answer all 6 of the following ICD 10 codes for the following di.docx
 
Please answer All Requlred Information -The following information app.docx
Please answer All  Requlred Information -The following information app.docxPlease answer All  Requlred Information -The following information app.docx
Please answer All Requlred Information -The following information app.docx
 
Plants with genotype BbRryy are intercrossed- Calculate the following.docx
Plants with genotype BbRryy are intercrossed- Calculate the following.docxPlants with genotype BbRryy are intercrossed- Calculate the following.docx
Plants with genotype BbRryy are intercrossed- Calculate the following.docx
 
pl answer (a) When can liquid metals be used as heat transfer media- -.docx
pl answer (a) When can liquid metals be used as heat transfer media- -.docxpl answer (a) When can liquid metals be used as heat transfer media- -.docx
pl answer (a) When can liquid metals be used as heat transfer media- -.docx
 
Physiological symptoms of Jimsonweed include all EXCEPT Photophobia -&.docx
Physiological symptoms of Jimsonweed include all EXCEPT Photophobia -&.docxPhysiological symptoms of Jimsonweed include all EXCEPT Photophobia -&.docx
Physiological symptoms of Jimsonweed include all EXCEPT Photophobia -&.docx
 
Pester Company transferred the following assets to a newly created sub.docx
Pester Company transferred the following assets to a newly created sub.docxPester Company transferred the following assets to a newly created sub.docx
Pester Company transferred the following assets to a newly created sub.docx
 
Perception and Individual Decision Makingwhich biasvare you most likel.docx
Perception and Individual Decision Makingwhich biasvare you most likel.docxPerception and Individual Decision Makingwhich biasvare you most likel.docx
Perception and Individual Decision Makingwhich biasvare you most likel.docx
 
Per my textbook GAAP does not allow recognition of a restructuring pro.docx
Per my textbook GAAP does not allow recognition of a restructuring pro.docxPer my textbook GAAP does not allow recognition of a restructuring pro.docx
Per my textbook GAAP does not allow recognition of a restructuring pro.docx
 
PeopleWeighti- java-18- error- not a statement for (int i-1-i-arr-1eng.docx
PeopleWeighti- java-18- error- not a statement for (int i-1-i-arr-1eng.docxPeopleWeighti- java-18- error- not a statement for (int i-1-i-arr-1eng.docx
PeopleWeighti- java-18- error- not a statement for (int i-1-i-arr-1eng.docx
 
You may have heard about the accounting scandals of the early 2000s th.docx
You may have heard about the accounting scandals of the early 2000s th.docxYou may have heard about the accounting scandals of the early 2000s th.docx
You may have heard about the accounting scandals of the early 2000s th.docx
 
You may recall the criminal trial of O- J- Simpson- Opinion regarding.docx
You may recall the criminal trial of O- J- Simpson- Opinion regarding.docxYou may recall the criminal trial of O- J- Simpson- Opinion regarding.docx
You may recall the criminal trial of O- J- Simpson- Opinion regarding.docx
 
You live in Omaha- and you are a secret agent- You need to send a thre.docx
You live in Omaha- and you are a secret agent- You need to send a thre.docxYou live in Omaha- and you are a secret agent- You need to send a thre.docx
You live in Omaha- and you are a secret agent- You need to send a thre.docx
 
You have located the following information on Webbs Heating & Air Cond.docx
You have located the following information on Webbs Heating & Air Cond.docxYou have located the following information on Webbs Heating & Air Cond.docx
You have located the following information on Webbs Heating & Air Cond.docx
 

Recently uploaded

USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 

Recently uploaded (20)

USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 

please write the program in python 3 language and make sure it is work.docx

  • 1. please write the program in python 3 language and make sure it is working correctly Exercise 1: Write a program that reads in the hourly wage of an employee and the number of hours he or she worked in the past week. Your program will compute and display the pay. Any overtime work (over 40 hours per week) is paid at 150 percent of the regular wage. Note: - You need to define the overtime limit (40 hours) and the overtime factor (1.5) as constants. Sample run 1: Enter the hourly wage: 10.0 Enter the number of hours worked: 35 The pay will be 350.00 SAR for 35 hours of work. Sample run 2: Enter the hourly wage: 10.0 Enter the number of hours worked: 50 The pay will be 550.00 SAR for 50 hours of work.