Task: Getting a List of All Subdirectories in the Current Directory
Task: Getting a List of All Subdirectories in the Current Directory: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that returns a list of all subdirectories in a specified directory. The script should only list directories, not files.
The task
Write a Python script that returns a list of all subdirectories in a specified directory. The script should only list directories, not files.
Part of PrimeIntellect/Terminal-Lego-15k.