I am trying to print all directories and sub directories with a recursive function but I get only the first directory. Any help?

Print recursively all directories and subdirectories
Nasi Jofce
- 43
- 1
- 2
- 4