I\'m trying to run these code to write a file with this for loop and I getting this error:
TypeError: expected str, bytes or os.PathLike object, not tuple
My Os is