-
FundamentalsGames
Code def riddle(word): return len(word[:-1])
Test Cases test.assert_equals(riddle("Two?"), 3) test.assert_equals(riddle("Ten?"), 3) test.assert_equals(riddle("Three?"), 5)
Output:
-
Code - def riddle(word):
return len(word) - 1- return len(word[:-1])
- All
- {{group.name}} ({{group.count}})
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}