1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Yuliya22 [10]
3 years ago
9

PYTHON CODING LANGUAGE (i am a beginner)

Computers and Technology
1 answer:
MaRussiya [10]3 years ago
5 0
#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
You might be interested in
1. We want to add a button to the tally counter in Section 9.2 that allows an operator to undo an accidental button click. Provi
serious [3.7K]

Answer:

See explaination

Explanation:

class Counter:

def getValue(self):

return self._value

def undo(self):

if self._value > 0:

self._value = self._value - 1;

def click(self):

self._value= self._value + 1

def reset(self):

self._value= 0

tally= Counter()

tally.reset()

tally.click()

tally.click()

result = tally.getValue()

print("Value:", result)

tally.click()

result = tally.getValue()

print("Value:", result)

tally.undo()

tally.undo()

result = tally.getValue()

print("Value:", result)

tally.undo()

tally.undo()

result = tally.getValue()

print("Value:", result)

5 0
3 years ago
What is Hypertext Transfer Protocol?
densk [106]

Answer:

B

Explanation:

Web browsers use HTTP to send and receive information to and from the web.

3 0
4 years ago
Which one of the following careers is the most highly resistant to economic change?
Eduardwww [97]

Answer:

Video game designers bbbbbbbbbbbbb

8 0
3 years ago
A baseball diamond has an area of 3,600 square feet. What is the distance between each base? How far will a runner run around th
Ksju [112]
Also ~ how far does a runner run around the bases on a home run? It's explained in my answer. lw = sa (length times width = surface area) So multiplying length by width (since they're the same in this case you're squaring the length or squaring the width - no difference) You'll get 3600 feet.
6 0
4 years ago
30 POINTS!!!! HELPPPPP!!! in computer science, what does the term inference mean?
algol [13]

Answer:

a

Explanation:

the act or process of reaching a conclusion about something from known facts

4 0
2 years ago
Read 2 more answers
Other questions:
  • A bunch of computer scientists take over an island and start their own country. They want the license plates to use binary numbe
    11·1 answer
  • The bus width and bus speed together determine the bus's ______ or bandwidth; that is, the amount of data that can be transferre
    5·1 answer
  • The different concepts in the architecture operating model are aligned with how the business chooses to integrate and standardiz
    10·2 answers
  • Select what's true about packet sniffers. Check All That Apply Legitimate sniffers are used for routine examination and problem
    15·1 answer
  • Assume that PrecinctReport is a structured type with these fields, address (a string), and three int fields which are counts of
    9·1 answer
  • Different network devices function at different network communication layers, depending on their purpose. Using the TCP/IP model
    7·1 answer
  • For what reason can security risks never be fully eliminated?​
    7·1 answer
  • I need to create a method named "root positive". which will either print the square root of the number passed to it or if the nu
    13·1 answer
  • You are working on a program that needs to keep track of many values at the same time. Which of the following would you use?
    10·2 answers
  • How can blockchain be used to support sustainable business practices?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!