13 lines
340 B
Python
13 lines
340 B
Python
# https://www.w3schools.com/python/python_ref_list.asp
|
|
# https://www.quackit.com/python/reference/python_3_list_methods.cfm
|
|
|
|
programMessage = '''
|
|
This program appends a value to a list.
|
|
'''
|
|
print(programMessage)
|
|
|
|
basicList = [1, 34, 99, 87, 14]
|
|
print(f"Before append {basicList}")
|
|
basicList.append(104)
|
|
print(f"After append {basicList}")
|
|
|