• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
depperm Avatar
Name:Epper Marshall
Clan:Unknown
Skills:javascript, jquery, java, c++, python, php, html
Member Since:Jun 2015
Last Seen:Dec 2021
Profiles:
Following:1
Followers:2
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (4)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Voile
    • commented on "Retrieve array value by index with default" kata
    • 8 years ago

    In Python you can access list elements from the right by using a negative index, e.g ['a','b','c'][-3] = 'a'.

  • Custom User Avatar
    • RDornodon
    • commented on "Codewar's style ranking system" kata
    • 8 years ago

    Check my comment on my same issue - these should not be functions, just either simple variables (or create property from the functions).

    Either user.rank as a variable or use @property decorator:

    @property
    def rank(self):
        #...
        pass
    
  • Custom User Avatar
    • marianzburlea
    • commented on "Text align justify" kata
    • 9 years ago

    (123) 3 + (space) 1 + (45) 2 + (space) 1 + (6) 1 = 8 chars, which is greater than 7

  • Custom User Avatar
    • iamchingel
    • commented on "You are a Cube!" kata
    • 9 years ago

    sure thing :)

  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...