# [ ] review and run example
# the list before append
sample_list = [1, 1, 2]
print("sample_list before: ", sample_list)
sample_list.append(3)
# the list after append
print("sample_list after: ", sample_list)
# [ ] review and run example
# append number to sample_list
print("sample_list start: ", sample_list)
sample_list.append(3)
print("sample_list added: ", sample_list)
# append again
sample_list.append(8)
print("sample_list added: ", sample_list)
# append again
sample_list.append(5)
print("sample_list added: ", sample_list)
# [ ] run this cell several times in a row
# [ ] run cell above, then run this cell again
# [ ] review and run example
mixed_types = [1, "cat"]
# append number
mixed_types.append(3)
print("mixed_types list: ", mixed_types)
# append string
mixed_types.append("turtle")
print("mixed_types list: ", mixed_types)
# Currency Values
# [ ] create a list of 3 or more currency denomination values, cur_values
# cur_values, contains values of coins and paper bills (.01, .05, etc.)
cur_values = [1.25, 2.50, 3.75]
# [ ] print the list
print(cur_values)
# [ ] append an item to the list and print the list
cur_values.append(4.00)
print(cur_values)
# Currency Names
# [ ] create a list of 3 or more currency denomination NAMES, cur_names
# cur_names contains the NAMES of coins and paper bills (penny, etc.)
cur_names = ["penny", "nickel", "dime"]
# [ ] print the list
print(cur_names)
# [ ] append an item to the list and print the list
cur_names.append("dollar")
print(cur_names)
# [ ] append additional values to the Currency Names list using input()
cur_names_input = input("Enter currency names: ")
# [ ] print the appended list
cur_names.append(cur_names_input)
print(cur_names)
# [ ] complete the Birthday Survey task above
bday_survey = []
bday = input("What day of the month were you born? (1-31): ")
while bday != "q":
bday = input("What day of the month were you born? (1-31): ")
bday_survey.append(bday)
print(bday_survey)
# [ ] Fix the Error
three_numbers = [1, 1, 2]
print("an item in the list is: ", three_numbers[2])