C hope that helps have a good day and I feel you good for big hugs
        
                    
             
        
        
        
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
 
        
             
        
        
        
Answer:
shortNames = ['Gus', 'Bob','Zoe']
Explanation:
In this assignment, your knowledge of list is been tested. A list is data structure type in python that can hold different elements (items) of different type. The general syntax of a list is
listName = [item1, "item2", item3] 
listName refers to the name of the list variable, this is followed by a pair of square brackets, inside the square brackets we have items separated by commas. This is a declaration and initialization of a list with some elements.
The complete python code snippet for this assignment is given below:
<em>shortNames = ['Gus', 'Bob','Zoe']</em>
<em>print(shortNames[0])</em>
<em>print(shortNames[1])</em>
<em>print(shortNames[2])</em>