• 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
headless32 Avatar
Name:Unknown
Clan:ITMO University
Member Since:Jan 2017
Last Seen:Aug 2022
Profiles:
    Following:107
    Followers:107
    Allies:107
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (4)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • igal
      • commented on "Find Multiples of a Number" python solution
      • 8 years ago

      Sure thing.

    • Custom User Avatar
      • mdolata
      • commented on "Find Multiples of a Number" python solution
      • 8 years ago

      Ok, I see where is my problem. I wrote solution for Python3, where range() function returns range object. In python2 that function returns list. Thanks for help

    • Custom User Avatar
      • igal
      • commented on "Find Multiples of a Number" python solution
      • 8 years ago

      I'm not sure I understand your question. For one thing, in Python a list is an object (practically everything is an object in Python) so I don't understand this objection. As far as how this works, all it does is call the "range" function:

      https://docs.python.org/2/library/functions.html#range

      Have you tried reading the relevant documentation? If so, maybe you could say a little bit more about what you find confusing. You could also try asking for help on the Codewars gitter:

      https://gitter.im/Codewars/codewars.com/kata-solving-help

    • Custom User Avatar
      • mdolata
      • commented on "Find Multiples of a Number" python solution
      • 8 years ago

      how does this work? This function returns range object instead of list. Am I missing something?

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...