• 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
Getbacknow26 Avatar
Name:Unknown
Clan:Unknown
Member Since:Aug 2024
Last Seen:Aug 2024
Profiles:
    Following:2
    Followers:0
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations
    • Replies
    • Authored (2)
    • Needs Resolution
    • Custom User Avatar
      • Getbacknow26
      • commented on "Beginner Series #3 Sum of Numbers" python solution
      • 11 months ago

      Totally agreed. But I also think that the context (expected range) where this code is used is important.

    • Custom User Avatar
      • Getbacknow26
      • commented on "Beginner Series #3 Sum of Numbers" python solution
      • 11 months ago

      In a=b cases, the range is basically range object with one value. and sum function looks for values inside the range object (which in this case is just one value), and sums them up.

      Please correct me if i'm wrong.

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...