Standing well for me I never miss a shot in that position
Answer:
Explanation:
The following is written in Python and uses exception handling to do exactly as requested. It then goes adding all of the integer values to an array called num_list and finally adding them all together when the function ends.
def in_values():
num_list = []
while True:
try:
num = input("Input non-zero floating point: ")
num = int(num)
if num == 0:
break
else:
num_list.append(num)
except ValueError:
print("No valid integer! Please try again ...")
try:
num = input("Input non-zero floating point: ")
num = int(num)
break
except ValueError:
break
sum = 0
for number in num_list:
sum += number
return sum
I honestly have no idea on what this is... but im guessing its some sort of tool or food in somebodys mouth... probably isn't but oh well..
Functions are code segments that are executed when called or invoked
The function definition is not given; so, the output of the program cannot be outrightly determined.
However, the following are the possible scenarios.
- The program would return 35.55 if the 2 represents the digits after decimal.
- The program would return 36 if the 2 represents the significant digits.
It is unlikely for the program to return (a) 35.555 and (d) 40
Read more about functions at:
brainly.com/question/14284563
I’m pretty sure you shouldn’t because in the form they have you fill I think you agree to something about the management so..