Skip to content

Line of code from Fundamental Review does not work #22

@dfindley

Description

@dfindley

print("four: {}".format()
four[0][5] == 'n' and four[0][0] == "P" and four[2][1] == "u"
)

This gives a syntax error. Changing it to this:

print("four: {}".format(
four[0][5] == 'n' and four[0][0] == "P" and four[2][1] == "u"
))

fixes the issue.

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