APCSP Final Reflection and Growth
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)
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()