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

Aidan is preparing a presentation on the dangers of distracted driving. which tone is most appropriate for the audience of students in his high school
Sarah says that 26 divided by 8 equals 14 divided by 4 because both are 3 R2. Explain why she is incorrect.
Is 16/4 a whole number
The density of piece of brass is 8.4g/cm3. if the mass of the brass is 510g, find the volume of the brass
In the electric currect​ flow, it is found that the resistance​ (measured in the units called​ ohms) offered by a fixed length of wire of a given material vari
what is a relative direction of Rome
which scarce resource led the leader of dubai to make drastic changes to his country?
Write a paragraph explaining the words below, minuteman, loyalist, patriot
How are hydrogen bonds different from covalent bonds ? covalent bonds are organic; hydrogen bonds are inorganic the compounds that result from hydrogen bonds co
which of the following particales is similar to a He nucleas