task 8
This commit is contained in:
@@ -28,3 +28,10 @@ class Exercise00:
|
||||
|
||||
for file in path.glob('**/*'+filetype):
|
||||
yield str(file.name)
|
||||
|
||||
def __call__(self, **kwargs):
|
||||
ret = ""
|
||||
for items in sorted(kwargs.items()):
|
||||
ret = ret + "{} = {}".format(items[0], items[1]) + "\n"
|
||||
return ret[:-1]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user