menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Register
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
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
asked
Jun 27, 2022
86.2k
views
0
votes
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
Computers and Technology
high-school
Marielouise
asked
by
Marielouise
4.7k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
1
vote
#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
Thecheech
answered
Jul 2, 2022
by
Thecheech
4.5k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
4.6m
questions
6.0m
answers
Other Questions
Do you think social media should affect presidential elections
WHAT???? Pls help 20 points!!
The _______ hybrid uses 144 to 158 volt batteries.
how can a user open a blank presentation? 1.on the file menu, click new, and then click recent templates 2.on the file menu, click new, and then click blank presentation 3. on the view menu, click templates,
______ is/are artwork available for computer documents that include artwork such as drawings or stock photography. Online pictures Smart art Picture styles Illustrations
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org