Reflection:

I have learned many things over the trimester, and I made a quick list project out of python to show my learning. It's not perfect and has a few errors, but I think it captured the nature of APCSP, which is realizing errors and working to eventually fix and prevent them in the future.

Code Segment:

InfoDb = []

# Append to List a Dictionary of key/values related to a person and preferences
InfoDb.append({
    "#1": "Set up a personal blog, updating it regularly with weekly knowledge and work",
    "#2": "Explored many APCSP topics including lists, Javascript, HTML, API's, and Deployment",
    "#3": "Deployed Flask Web Servers on official Amazon Web Services",
    "#4": "Created API's to store and display data on servers",
    "#5": "Managed both Frontend and Backend Elements to create a fufilling project",
    "#6": ["Became a better group leader"]
})

# Append to List a 2nd Dictionary of key/values
InfoDb.append({
    "#1": "Jeffrey Lee (Scrum Master)",
    "#2": "Luke Riggins (DevOps)",
    "#3": "Ethan Truong (Frontend)",
    "#4": "James Armstrong (Backend)",
})

# Print the data structure
print(InfoDb)
[{'#1': 'Set up a personal blog, updating it regularly with weekly knowledge and work', '#2': "Explored many APCSP topics including lists, Javascript, HTML, API's, and Deployment", '#3': 'Deployed Flask Web Servers on official Amazon Web Services', '#4': "Created API's to store and display data on servers", '#5': 'Managed both Frontend and Backend Elements to create a fufilling project', '#6': ['Became a better group leader']}, {'#1': 'Jeffrey Lee (Scrum Master)', '#2': 'Luke Riggins (DevOps)', '#3': 'Ethan Truong (Frontend)', '#4': 'James Armstrong (Backend)'}]
def print_data(d_rec):
    print("Major Areas of Growth This Trimester")
    print("\t", "#1", d_rec["#1"]) # \t is a tab indent
    print("\t", "#2", d_rec["#2"])
    print("\t", "#3", d_rec["#3"])
    print("\t", "#4", d_rec["#4"])
    print("\t", "#5", d_rec["#5"])
    print("\t", "#6: ", end="")  # end="" make sure no return occurs
    print(", ".join(d_rec["#6"]))
    print()

# for loop iterates on length of InfoDb
def for_loop():
    print("For loop output\n")
    for record in InfoDb:
        print_data(record)

for_loop()
For loop output

Major Areas of Growth This Trimester
	 #1 Set up a personal blog, updating it regularly with weekly knowledge and work
	 #2 Explored many APCSP topics including lists, Javascript, HTML, API's, and Deployment
	 #3 Deployed Flask Web Servers on official Amazon Web Services
	 #4 Created API's to store and display data on servers
	 #5 Managed both Frontend and Backend Elements to create a fufilling project
	 #6: Became a better group leader

Major Areas of Growth This Trimester
	 #1 Jeffrey Lee (Scrum Master)
	 #2 Luke Riggins (DevOps)
	 #3 Ethan Truong (Frontend)
	 #4 James Armstrong (Backend)
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
/home/jeffrey/vscode/firstfastpages/_notebooks/2022-11-10-Personal-Trimester-Growth.ipynb Cell 5 in <cell line: 19>()
     <a href='vscode-notebook-cell://wsl%2Bubuntu/home/jeffrey/vscode/firstfastpages/_notebooks/2022-11-10-Personal-Trimester-Growth.ipynb#W1sdnNjb2RlLXJlbW90ZQ%3D%3D?line=15'>16</a>     for record in InfoDb:
     <a href='vscode-notebook-cell://wsl%2Bubuntu/home/jeffrey/vscode/firstfastpages/_notebooks/2022-11-10-Personal-Trimester-Growth.ipynb#W1sdnNjb2RlLXJlbW90ZQ%3D%3D?line=16'>17</a>         print_data(record)
---> <a href='vscode-notebook-cell://wsl%2Bubuntu/home/jeffrey/vscode/firstfastpages/_notebooks/2022-11-10-Personal-Trimester-Growth.ipynb#W1sdnNjb2RlLXJlbW90ZQ%3D%3D?line=18'>19</a> for_loop()

/home/jeffrey/vscode/firstfastpages/_notebooks/2022-11-10-Personal-Trimester-Growth.ipynb Cell 5 in for_loop()
     <a href='vscode-notebook-cell://wsl%2Bubuntu/home/jeffrey/vscode/firstfastpages/_notebooks/2022-11-10-Personal-Trimester-Growth.ipynb#W1sdnNjb2RlLXJlbW90ZQ%3D%3D?line=14'>15</a> print("For loop output\n")
     <a href='vscode-notebook-cell://wsl%2Bubuntu/home/jeffrey/vscode/firstfastpages/_notebooks/2022-11-10-Personal-Trimester-Growth.ipynb#W1sdnNjb2RlLXJlbW90ZQ%3D%3D?line=15'>16</a> for record in InfoDb:
---> <a href='vscode-notebook-cell://wsl%2Bubuntu/home/jeffrey/vscode/firstfastpages/_notebooks/2022-11-10-Personal-Trimester-Growth.ipynb#W1sdnNjb2RlLXJlbW90ZQ%3D%3D?line=16'>17</a>     print_data(record)

/home/jeffrey/vscode/firstfastpages/_notebooks/2022-11-10-Personal-Trimester-Growth.ipynb Cell 5 in print_data(d_rec)
      <a href='vscode-notebook-cell://wsl%2Bubuntu/home/jeffrey/vscode/firstfastpages/_notebooks/2022-11-10-Personal-Trimester-Growth.ipynb#W1sdnNjb2RlLXJlbW90ZQ%3D%3D?line=5'>6</a> print("\t", "#3", d_rec["#3"])
      <a href='vscode-notebook-cell://wsl%2Bubuntu/home/jeffrey/vscode/firstfastpages/_notebooks/2022-11-10-Personal-Trimester-Growth.ipynb#W1sdnNjb2RlLXJlbW90ZQ%3D%3D?line=6'>7</a> print("\t", "#4", d_rec["#4"])
----> <a href='vscode-notebook-cell://wsl%2Bubuntu/home/jeffrey/vscode/firstfastpages/_notebooks/2022-11-10-Personal-Trimester-Growth.ipynb#W1sdnNjb2RlLXJlbW90ZQ%3D%3D?line=7'>8</a> print("\t", "#5", d_rec["#5"])
      <a href='vscode-notebook-cell://wsl%2Bubuntu/home/jeffrey/vscode/firstfastpages/_notebooks/2022-11-10-Personal-Trimester-Growth.ipynb#W1sdnNjb2RlLXJlbW90ZQ%3D%3D?line=8'>9</a> print("\t", "#6: ", end="")  # end="" make sure no return occurs
     <a href='vscode-notebook-cell://wsl%2Bubuntu/home/jeffrey/vscode/firstfastpages/_notebooks/2022-11-10-Personal-Trimester-Growth.ipynb#W1sdnNjb2RlLXJlbW90ZQ%3D%3D?line=9'>10</a> print(", ".join(d_rec["#6"]))

KeyError: '#5'