Python DAY 1 : Code Challenge Can You Solve This Question - Deepstash
Python DAY 1 : Code Challenge Can You Solve This Question

Python DAY 1 : Code Challenge Can You Solve This Question

Write a program

To calculate the total wage. Use the function with parameters (hours, pay rate ) for the same. It should prompt the user for hours and pay rate. Use try and exempt while converting to float. The worker gets a 2 times pay rate for every hour above 40. Compute the pay if

A. John worked for 50 hours at a pay rate 20 dollars

B. Susy worked for 20 hours at a pay rate of 45 dollars.

Answer will be uploaded on my blog in 12 hrs from now. Follow me on deepstash for more content and a challenge question daily.

3

7 reads

CURATED FROM

IDEAS CURATED BY

vaibhav_agx

Hey ! Drop a follow I post about economics, investment and programming Joined deepstash to fight my laziness with reading and writing

The idea is part of this collection:

Machine Learning With Google

Learn more about computerscience with this collection

Understanding machine learning models

Improving data analysis and decision-making

How Google uses logic in machine learning

Related collections

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

100+ Learning Journeys

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates