Complete the code to create a table with 3 columns.
table = [['Name', 'Age', [1]], ['Alice', 30, 'Engineer'], ['Bob', 25, 'Designer']]
The third column header should be 'Occupation' to match the data in the rows.
Complete the code to access the age of the second person in the table.
age = table[[1]][1]
table[1] accesses the second row (first row is headers), and [1] accesses the 'Age' column.
Fix the error in the code to print the job of the first person.
print(table[1][[1]])
The job is in the third column, which is index 2 (0-based indexing).
Fill both blanks to create a new row and add it to the table.
new_row = ['Charlie', [1], [2]] table.append(new_row)
The new row needs an age (28) and an occupation ('Teacher') to match the table structure.
Fill all three blanks to create a dictionary from the table row with keys as columns.
row_dict = {table[0][[1]]: table[1][[2]], table[0][[3]]: table[1][2]}The dictionary keys come from the header row (index 0), and values from the first data row (index 1). The first key-value pair uses column 0 and 1, the second uses column 2 and 2.