• 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
xplora Avatar
Name:'Dayo Olutayo
Clan:Unknown
Member Since:May 2021
Last Seen:Sep 2023
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (6)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Chrono79
    • commented on "Build Tower" kata
    • 2 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • Chrono79
    • commented on "Build Tower" kata
    • 2 years ago

    I've already tested it, and it doesn't return ['*'] for 1. Use Pythontutor to see what your code does, step by step. It doesn't enter in any of your loops and it returns an empty array.

  • Custom User Avatar
    • Chrono79
    • commented on "Build Tower" kata
    • 2 years ago

    No, but your code returns an empty array with that input and you can see that here: https://pythontutor.com/visualize.html#mode=edit

  • Custom User Avatar
    • Chrono79
    • commented on "Build Tower" kata
    • 2 years ago

    In that error message, your code is wrongly returning [] when it should be returning ['*']

  • Custom User Avatar
    • Chrono79
    • resolved an issue on "Build Tower" kata
    • 2 years ago

    No, there isn't.

    JavaScript Completions 28327

    Not a kata issue, the problem is in your code.

  • Custom User Avatar
    • hobovsky
    • commented on "Build Tower" kata
    • 2 years ago

    in what language?

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...