Answer:
1) my_family.py
family = ('Dad', 'Mom', 'Agnes', 'David', 'Chris', 'Millie')
for name in range(len(family)):
print(family[name])
2) work_list.py
my_number = [2, 6, 3, 1, 8, 4]
# add items at the end of the list.
my_number.append(0)
my_number.append(5)
# sorts the list, default - ascending.
my_number.sort()
size = 0
while size < len(my_number):
print(my_number[size])
size += 1
Step-by-step explanation:
The tuple and list data structures are ordered, using indexes to locate items in its container.
The family.py file uses the for-loop to iterate and print the family names in the tuple.
The work-list.py file contains a list of integers which is modified by adding items at the end of the list with the append method and a prints all the items using a while-loop.