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

The growth of American cities during the late 19th and early 20th centuries led progressive reformers to push for which of these? improved public services restr
How was Charlemagne able to expand his empire?
how did people try to escape the realities of life during the Great Depression?
why did the united states want to go to space?
federalists believed that a bill of rights was?
compare and contrast middle ages and renaissance and give me 3 things that is the same on both :)
Egg is to yolk as suit is to _______ Which of the following best completes the analogy? business. socks. clothes. jacket.
Which sentence does not contain any punctuation errors? A. Miss Wallace, our babysitter, tried to open the pickle jar. B. Miss Wallace our babysitter, tried to
a 51-inch piece of steel is cut into three pieces so that the second piece is twice as long as the first piece, and the third piece is one inch more than seven
Which is the main difference between Madame Defarge and her husband, Monsieur Defarge? A. Madame Defarge envisions taking over the Bastille, while her husband