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

How did the social structure of village life change as the economy became more complex?
what layess compoce erarth core
What Are The Functions Of The British Cabinet?
what reassured Europeans that the United States would help them rebuild their lives even in the shadow of growing soviet hostility
What geographical barrier helped to protect Britain from an invasion by Napoleon? A. Mediterranean Sea C. Alps B. English Channel D. Pyrenees
Which of the following best summarizes the main events of the Persian Wars? A. The Greek city-states banded together to attack Persia to gain control of trade
Which of these measures most strongly contradicted the prevailing ideas of the time? (5 points) the draft propaganda economic planning suppression of dissent
Which event is the most common at oceanic-oceanic convergent boundaries? A. earthquakes B. rift valleys C. island arcs D. volcanic mountain ranges
Multiply and simplify. 2/3 * 2 1/5 * 3/4=?
What is the circulatory system