Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Invalid syntax in gui/eight_puzzle.py #896

Closed
@LoboLofi

Description

@LoboLofi

I'm trying to run the Gui examples, with:
python3 -i gui/eight_puzzle.py
And get the next out:

File "gui/eight_puzzle.py", line 88
    b[zero_ix] = Button(root, text=f'{state[index]}', width=6, font=('Helvetica', 40, 'bold'), command=partial(exchange, zero_ix))
                                                   ^
SyntaxError: invalid syntax

I've python 3.5.2 and Ubuntu 16.04.

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