Course project assignment 4 (problem)

I am trying to make my course project but i am facing error in initial steps .Actually i am new to python language .when i download my dataset using i get images in Colab in ‘jpg’ format. But I need to compress them to zip file and then extract all. As I am new to python I don’t know the code to do so . Kindly reply asap. If you can mention code also ,it will be of great help.

If you have jpg files, then why do you want to compress them, just to extract them?

Also, a bit wrong category @hemanth .