subject

PLEASE HURRY What will be the output of the following program? Assume the user responds with a 5 for the first number and a 4 for the second number.

answerA = input("Enter a number. ")
answerB = input("Enter a second number. ")
numberA = int(answerA)
numberB = int(answerB)
result = numberA + numberB / 2
print ("The result is" , result)

A) The result is7.0
B) The result is 4.5
C) The result is4.5
D)The result is 7.0

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 02:00, ashleyrobles2676
Consider how gaming consoles initially relied on joysticks and joypads and then made the switch to modern gaming controls, which include analog sticks, buttons and switches, touch controls, accelerometers, motion controls, etc. name at least two kinds of gaming experiences that are possible with these new control devices but were not possible on original joysticks. explain how new technologies made this newer game style possible.
Answers: 1
image
Computers and Technology, 22.06.2019 02:50, brianna4455
Which of the following had the greatest influence on opening the internet to the generly public
Answers: 1
image
Computers and Technology, 22.06.2019 05:00, brylove603
Pls do you believe that the use of 3d animation has grown in feature films over the last few years? if so, do you think the trend will continue? what are the forces driving this trend?
Answers: 2
image
Computers and Technology, 22.06.2019 11:00, dondre54
in 2007, floridians died in alcohol-related collisions.a.  501b.  1,051c.  5,015d.  10,839
Answers: 1
You know the right answer?
PLEASE HURRY What will be the output of the following program? Assume the user responds with a 5 fo...

Questions in other subjects: