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

(SHOW THE SOLUTION)​
In three to five sentences, describe how the arms race during the Cold War increased tensions (50 points)
What are the measures of Angles a, b, and c? Show your work and explain your answers. 30⁰ 75° Please help me
Suppose y = 2x + 10. Find y if x= -6.
27.12-(4.8²-2×2)Help can u also sent with solution​
HELP ASAP PLSSSS (i am putting image of grid below) Triangle ABC is transformed to Triangle A′B′C′, as shown below: A coordinate grid is shown from negative 4 t
A mixture of 30.2 g of sand and 87.7 g of water has a temperature of 12.1 °C. What is the mass of water at 85.8° C must be added to raise the final temperature
explain why there are two zeros in the product of 5x40​
Explain the meaning of each of the variables in the following formula: GDP = C + I + G + (X – M).
A bus makes a stop at 2:30, letting off 13 people and letting on 5. The bus makes another stop ten minutes later to let off 5 more people. How does the people o