Python File Type Counter

# Introduction In this challenge we will work with the `os` module in Python to count the number of file types in a given directory. The aim is to write a script that takes user input for a file type and returns the number of files of that type in the directory. The script should return `0` if the file type does not exist. For this challenge we will use the file path `/home/labex/project/file_type.py`.

|
60 : 00

Click the virtual machine below to start practicing