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

In only 15 minutes, the temperature in Fort Assiniboine, Montana, went from -5°F to +37°F on January 19, 1892. Calculate this change in temperature in kelvins.
what government policies helped American industry to produce large quantities of war materials?
Where were 66 Americans held hostage for 444 days in the late 1970s? Afganistan Egypt Iraq Iran please help
How might the southeast be different today if native Americans had successfully resisted removal?
Although ___________ is described as an accepted practice in the Old Testament, it is nonetheless remarkable that King Solomon had 700 wives. A. microcosm B. mi
How are exponents helpful?
Which was Martha Washington known for?
In the word “impressionisms” there are a total of how many derivational morphemes?
What is 80 0.8 and 80% as unreduced fractions
A bowling ball has a total diameter of 8.5 in. It consists of 2 parts. The inside is a spherical core with a diameter of 6 in.Surrounding the core is a layer of