Skip to content

Exercise 1.28 is missing indentation #161

Open
@ezequiel-garzon

Description

@ezequiel-garzon

Exercise 1.28: Other kinds of “files” gives an IndentationError. It looks like

>>> import gzip
>>> with gzip.open('Data/portfolio.csv.gz', 'rt') as f:
    for line in f:
        print(line, end='')

should be changed to something like

>>> import gzip
>>> with gzip.open('Data/portfolio.csv.gz', 'rt') as f:
        for line in f:
            print(line, end='')

Thank you for this great course.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions