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

23. When 5.0 g of tin reacts with hydrochloric acid, the mass of the products, tin chloride and hydrogen, totals 8.1 g. How many grams of hydrochloric acid were
Find the next term in the sequence 1.9,4.9,7.9,10.9,13.9
A)75÷3-10 B) -2 (4) -7 C) 3 (11 -9) +3
What is the sales tax on a car stereo costing 399 if the tax rate is 5.5%
Which of these numbers is not rational? A. start root 3 end root B. 0.25 C. one-fifth D. start root 9 end root
3,4,7,7,13,13,21,22,31,34,?
Express the question as mixed fraction. 35/9
4. Write a number in which the digit 2 is one tenth the value of the digit 2 in 8.524.
Which colony was formed from a royal charter?
Question 6(Multiple Choice Worth 5 points) [HC] Read the text, then answer the question that follows: Wild animals as viewed from a mountain camp—Camille Grant,