Your data transformations and chi-square test are all correct. Nice job! I would just suggest that you possibly write out in comments your null hypothesis and the pval you got. It may be helpful to save your contingency table to a variable that you can easily call whenever needed. It may also be helpful to readers to write out in comments the format of your contingency table and the associated values.
For example:
https://github.com/sariabod/codeacademy/blob/56a6d84f2cf3145213a25ec3a9fd028c7b33f216/musclehub_project/musclehub.py#L34-L38
Your data transformations and chi-square test are all correct. Nice job! I would just suggest that you possibly write out in comments your null hypothesis and the pval you got. It may be helpful to save your contingency table to a variable that you can easily call whenever needed. It may also be helpful to readers to write out in comments the format of your contingency table and the associated values. For example: