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

5/6 divided by 1/2 simplified
20 soccer balls for every 4 teams what's is the ratio
Draw a hexagon with exactly two outside diagonals
Which is a characteristic of all mixtures?
Where do platypuses live?
x 10/10=18/12 solve for x
Which question would you use to ask your teacher how to spell hola? ¿Cómo se escribe hola? ¿Cómo se llama hola? ¿Cuál se escribe hola? ¿Cómo yo escribo hola? N
Under what U.S. President was the Panama Canal project begun? A. Jimmy Carter B. Franklin D. Roosevelt C. Teddy Roosevelt D. Bill Clinton
A new life form was discovered on Mars, one based upon Silicon instead of Carbon. Explain what properties Silicon has that allow life to be based upon it? Expla
Find each percent 40 to 25