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

"an older client asks why so many older people are diagnosed with cancer. what should the nurse respond to the client
The ocellated frogfish is known for a specially adapted dorsal fin located just above the fish's mouth. The fin is stalk-like with a fleshy tip, and the frogfis
i need to find the integral
How do the ongoing processes of scientific investigation and technological design interact with each other? a.Scientific investigation discovers new information
HELP PLZZZZZZZ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!describe how the "flair toothpaste" ad uses images, graphics, and language to create meaning and p
Give an example of how the apparent motion of an object depends on the observers motion
Anyone knows how to solve it?
Each face of a small cube has a surface area of 0.25 square meters. A larger cube has edges that are six times as long as the edges of the small cube. What is t
What can nonprinting characters tell you?
11 1/4 divided by 3/4