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

what would you call a object that makes people shut up
How can one concentrate in studies ?
6. Why is crossing over, or recombination, in meiosis a genetic advantage for a n organism? Why is crossing over an advantage for a geneticist
1. Obligate anaerobes are often grown in an anaerobe jar, which completely excludes oxygen from the environment. How is the environment within a tube of fluid t
a dime is flipped and a six-sided die is rolled what is the probability of flipping heads and rolling an odd number
if a neuron had a mutation that prevented the production of voltage gated Na+ channels, what function would the neuron NOT be able to accomplish?
is gravity a field force
. If a human has not eaten in 6 days,
Work out the Hcf of 32 and 36
A patient comes into the clinic with a resting heart rate of 80 beats per minute (bpm). The patient's cardiac output was found to be 5.6 liters/minute with an e