Skip to content

Commit

Permalink
9 step, version 5: fix engine.py after fails tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaly Chasovskikh committed Mar 27, 2024
1 parent 7003564 commit 9554608
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion brain_games/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ def br_progression():
result.append(first_element + i * step)
pr_perfect_answer = result.pop(index_question)
result.insert(index_question, '..')
pr_question = ('Question:', ' '.join([str(x) for x in result]))
pr_question = 'Question: '
pr_question += ' '.join([str(x) for x in result])
return pr_description, pr_question, pr_perfect_answer


Expand Down
Binary file modified dist/hexlet_code-0.1.0-py3-none-any.whl
Binary file not shown.
Binary file modified dist/hexlet_code-0.1.0.tar.gz
Binary file not shown.

0 comments on commit 9554608

Please sign in to comment.