Question: Question 1 . 2 Write a function called count _ file _ types that takes as input a folder ( a Path object ) ,
Question
Write a function called countfiletypes that takes as input a folder a Path object and returns a
dictionary with the number of files of each type in the folder. That is if the folder contains files and
pdf files, then the returned dictionary will be
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
