<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def lsfolders(self, stream=sys.stdout):
 """List the subfolders"""

        for f in self.folder.folders():
            print(f.folder.strip("."), file=stream)