subject

Assign total_owls with the sum of num_owls_A and num_owls_B. Sample output with inputs: 3 4
Number of owls: 7

This is what is given to me
total_owls = 0

num_owls_A = input()
num_owls_B = input()

print('Number of owls:', total_owls)

my code
total_owls = num_owls_A + num_owls_B

That gets me 34 for some reason instead of 7. What am I doing wrong?

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 16:00
How do i draw hello world in python and how do i make it loop?
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
Knowing that the central portion of link bd has a uniform cross sectional area of 800 mm2 , determine the magnitude of the load p for which the normal stress in link bd is 50 mpa. (hint: link bd is a two-force member.) ans: p = 62.7 kn
Answers: 2
question
Computers and Technology, 23.06.2019 18:00
Ramona enjoys her job because she is able to kids in an after school program. the work value ramona feels strongest about is a. leadership b. risk c. independence d. work with people select the best answer from the choices provided a b c d
Answers: 1
question
Computers and Technology, 24.06.2019 10:00
In which view can you see speaker notes?
Answers: 1
You know the right answer?
Assign total_owls with the sum of num_owls_A and num_owls_B. Sample output with inputs: 3 4
...
Questions
question
Mathematics, 18.12.2020 19:40
question
Mathematics, 18.12.2020 19:40
Questions on the website: 13722363