elfalehed / noahark

:video_game: An adventure/terminal game
https://kmx404.github.io/NoahArk/
6 stars 0 forks source link

Puzzle.py no answers #2

Open cclauss opened 4 years ago

cclauss commented 4 years ago

$ flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics

./Puzzle.py:41:40: F821 undefined name 'answers'
                elif answers1[c] > len(answers): 
                                       ^
./Puzzle.py:53:20: F821 undefined name 'prompts_count'
    for j in range(prompts_count) : 
                   ^
./Puzzle.py:60:30: F821 undefined name 'answers'
                if answer == answers[c]: 
                             ^
./Puzzle.py:63:32: F821 undefined name 'answers'
                elif answer != answers[c]: 
                               ^
./Puzzle.py:65:22: F821 undefined name 'answers'
                elif answers[c] > len(answers): 
                     ^
./Puzzle.py:65:39: F821 undefined name 'answers'
                elif answers[c] > len(answers): 
                                      ^
6     F821 undefined name 'answers'
6
elfalehed commented 4 years ago

I found the problem, and I'm into it. I will leave this issue open till it fixed.