• 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
Strad Avatar
Name:Unknown
Clan:CYBG
Member Since:Jan 2016
Last Seen:Feb 2024
Profiles:
    Following:1
    Followers:1
    Allies:1
    View Profile Badges
    Ad
    Educator, struggling to assess your students?
    Assess your classroom or bootcamp with the world leading assessment platform, Qualified.Request your demo today!
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations
    • Replies (3)
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • jacobb
      • commented on "Vigenère Cipher Helper" kata
      • 9 years ago

      Yea, they're initiating correctly. My guess is that you're trying to refer to a global variable instead of encapsulating the key and alphabet in the constructor.

    • Custom User Avatar
      • zebulan
      • commented on "Sierpinski's Gasket" kata
      • 10 years ago

      No problem. I'm hoping that Codewars will support Python 3 in the future.

      Also, when you click Train on a kata it says "Supported Python version is 2.7.6" at the bottom of the Instructions tab.

    • Custom User Avatar
      • zebulan
      • commented on "Sierpinski's Gasket" kata
      • 10 years ago

      Could it be because Codewars uses Python 2.7?

      # Python 2
      >>> 1 / 3
      0
      >>> 1 / float(3)
      0.3333333333333333
      
      # Python 3
      >>> 1 / 3
      0.3333333333333333
      >>> 1 // 3
      0
      

      http://www.codewars.com/docs/python-environment

      http://www.informit.com/articles/article.aspx?p=1439189

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...