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

This system eliminates waste and helps maintain the fluid balance in the body. nervous muscular urinary circulatory
Writers should avoid using elliptical clauses because they will confuse readers. a. True b. False
A. Korzybski was a structural grammarian. a. True b. False
This persuasive organizational pattern arranges information based upon pros and cons. A. Advantages-disadvantages B. Monroe s Motivated Sequence C. Cause-effe
The man who said "If this be treason, make the most of it," was: George Washington Samuel Adams Benjamin Franklin Patrick Henry
Areas of high vulnerability to stream erosion are
The combination of one or more cities and their suburbs became known as a. a metropolitan area. b. a metroplex. c. the Eastern Seaboard. d. a cement jungle.
Carbon monoxide is a poisonous gas.
9. Should all poetry, music or art be beautiful? Explain.
here is a problem from way back from my bro's math (elementary) 3 cats eat 3 cats in 3 minutes how long does it take for 100 cats to eat 100 fish? show all work