Create a function that pulls a picture from a URL and creates a thumbnail saved on your local machine.
Since this assignment specifies that the picture should be saved as a “thumbnail,” the full answer should include a function which resizes the image down to a thumbnail size (saveThumbnail2). However, if the picture pulled from a URL was a thumbnail originally, your function should just save the image without resizing (saveThumbnail1).
Capture a screenshot of your output. Paste the screenshot into a Word document.
Submit your Word document and your .py file in a .zip
WhatsApp us