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
labwork [276]
3 years ago
11

Assign total_owls with the sum of num_owls_A and num_owls_B.

Computers and Technology
1 answer:
zavuch27 [327]3 years ago
8 0

To debug a code, means that we locate and fix the errors in a code.

The issue with your code is that:

<em>You did not convert num_owls_A and num_owls_B to integers, when adding them together.</em>

The fix to this is that:

<em>You need to convert num_owls_A and num_owls_B to integers, when adding them together.</em>

The fix is as follows:

<em>total_owls = int(num_owls_A) + int(num_owls_B)</em>

The updated code is as follows:

<em>total_owls = 0 </em>

<em>num_owls_A = input() </em>

<em>num_owls_B = input() </em>

<em>total_owls = int(num_owls_A) + int(num_owls_B) </em>

<em>print('Number of owls:', total_owls)</em>

<em />

<em>The above code will perform addition operations for all inputs</em>

Read more about Python programs at:

brainly.com/question/13246781

You might be interested in
How might an engineer test a computer chair for comfort?
Masja [62]
They instance, "user trial engineer" may refer to a human factors professional who specialists in user trails. Reliability works stress and training as these may relate to human-system and human-computer interaction design.
4 0
3 years ago
1. Railroad tracks present no problems for a motorcyclist.
Yuki888 [10]

Answer: 1 is A

2 is D

Explanation:

3 0
3 years ago
What are the arguments for writing efficient programs even though hardware is relatively inexpensive?
Ainat [17]

Answer: Even though the hardware is inexpensive the writing of program is not efficient through this method as proper development of program is necessary for the clear execution due to factors like:-

  • The facility of writing program even the cost of hardware is less but it is not a free facility.
  • It also has a slower processing for the execution of the program
  • The construction of the efficient program is necessary for the compilation and execution of it rather than poorly constructed program is worthless and inefficient in working.

7 0
3 years ago
Functions of barriers include (mark all that apply): A. Define boundaries B. Design layout C. Deny access D. Delay access
gayaneshka [121]

Answer:

A. Define boundaries

C. Deny access

D. Delay access

Explanation:

A barrier is a material or structure used to prevent or block access. Barriers can either be natural or structural and are used for many purposes usually for security reasons. The following are functions of barriers either natural or structural:

  1. Define areas of boundaries
  2. Delay or slow access. Example is the use of speed bumps to slow down vehicles.
  3. Provide access to entrances such as the use of gates
  4. Deny access to unauthorized personnel and allowing authorized personnel.
4 0
3 years ago
IP ______ occurs when an intruder computer fools a network into believing its IP address is associated with a trusted source.
Veseljchak [2.6K]

Answer:

Spoofing

Explanation:

Spoofing that occurs when an intruder computer fools network into believing its IP address is associated with trusted source

5 0
2 years ago
Other questions:
  • Peak download rate for a 4g network is __________. select one:
    12·2 answers
  • Which situation is an example of? "relational context" in the transactional model of? communication?
    12·1 answer
  • When a Firewall is a hardware interface, it is referred as a
    6·1 answer
  • Write a Java program that prompts the user to enter a sequence of non-negative numbers (0 or more), storing them in an ArrayList
    5·1 answer
  • A computer has been stored, uncovered, in a dusty closet for several months. Why might this situation cause the operating system
    13·1 answer
  • Which programming element is used by a game program to track and display score information
    12·2 answers
  • What's the difference between cross-site scripting and cross-site request forgery? How do you protect against cross-site request
    15·1 answer
  • What is NOT a built-in function in python?<br> sqrt()<br> string()<br> fabs()<br> O print()
    12·2 answers
  • PLEASE ANSWER FAST.one of the barriers for early "talkies" was the need to manually crank the projector and manually synchronize
    13·1 answer
  • Please help I will mark brainliest
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!