Skip to content

Commit

Permalink
Update test_order.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ikostan committed Dec 19, 2024
1 parent 047f607 commit 0ef885f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions kyu_6/your_order_please/test_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@ def test_order(self, sentence, expected):
Your task is to verify that 'order' function
sorts a given string by following rules:
1. Each word in the string will contain a single number.
This number is the position the word should have in
the result.
1. Each word in the string will contain a single number.
This number is the position the word should have in
the result.
2. Note: Numbers can be from 1 to 9. So 1 will be the
first word (not 0).
2. Note: Numbers can be from 1 to 9. So 1 will be the
first word (not 0).
3. If the input string is empty, return an empty string.
The words in the input String will only contain valid
consecutive numbers.
3. If the input string is empty, return an empty string.
The words in the input String will only contain valid
consecutive numbers.
:return:
"""
# pylint: disable-msg=R0801
Expand Down

0 comments on commit 0ef885f

Please sign in to comment.