Skip to content

You could use generator expression #8

Closed
@GreatBahram

Description

@GreatBahram

Hello there,
Python str.join method accepts any kind of iterable object so, you could use a generator expression here. However, it is not a big different.

output += "".join([c.value for c in row]) + "\n"

        output += "".join(c.value for c in row) + "\n" 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions