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

Refer to the illustration above. What is the name of stricture
A train travels 64 kilometers in 5hours and then 93 kilometers in 2hours. What is it’s average speed?
The therapist/RBT positions the target item closest to the client while the distracter items are placed slightly further away. This best describes which stimulu
There is a dispute among china, japan, and taiwan over these islands in the east china sea:
Sam spent 5/6 of an hour at the dentist’s office. He spent 1/10 of the time in the waiting room. How much time did he spend at the dentist’s office other than
Which BEST describes the way the Catholic Church was negatively affected by the bubonic plague?
compare coral reefs and tide pools
1 and 2 are a linear pair, and 2 and 3 are vertical angles. m 2=(5+4 y) and m 3=(6 y-25). what is m 1
what is the square root of 675 estimated
Which section of the brain is responsible for maintaining homeostasis? 1.Hypothalamus 2.Ovary 3.Pancreas 4.Testicle