Seudónimo Seudónimo
  • 22-05-2021
  • Computers and Technology
contestada

PYTHON CODING LANGUAGE (i am a beginner)


Please write a few lines of code.

Here is a scenario:

In order to find the pay, you need to multiply the rate and hours.

*USE VARIABLES

Respuesta :

Eggrollius Eggrollius
  • 22-05-2021
#let the user input data
Hours = int(input(“enter how many hours were worked”))

Pay_rate = float(input(“Enter the pay rate”))

Pay_amount = Pay_rate * Hours
#calculate the wages


Print (Pay_amount)
#print the final answer
Answer Link

Otras preguntas

You have a credit card with an initial balance of $3,168.00 and an interest rate of 12.75% APR. If you make no payments on the card for three months, how much
What is the reduced fraction of 25 and 60?
at a local college 54.3% of the first year students have a computer. if 3 students are selected at random find the probability that none have computers, at leas
Joel has noticed that his engine is not compressing properly during the compression and ignition step. What problem will this pose?
in the open a tsunami wave is___
Which lines in this poem indicate that the poetic speaker refuses to be beguiled by love any longer? Farewell Love by Sir Thomas Wyatt
what prevents the dissipation of pollutants by normal air currents.
The best treatment for a bacterial disease is
Orly uses 3 cups of raisins for every 10 cups of trail mix she makes. How many cups of trail mix will she make if she uses 12 cups of raisins?
What are the coefficients in the expression 3x-4y +2