Beta

flask webserver or something #1 [GET]

Description
Loading description...
Flask
Fundamentals
Backend
  • Please sign in or sign up to leave a comment.
  • Pinnacle Avatar

    Great kata idea! However, sometimes the code runs too slow and won't fit inside of the time limit. Try using a

    @test.timeout(seconds)
    def something():
        #Tests go here
        pass
    

    For more documentation, refer to https://docs.codewars.com/languages/python/codewars-test/

  • devennorton Avatar

    I see that this is a series and is presumable building to something but I don't think having the /reset route really adds anything to the experience at this point. also the description of the return dict felt a little awkward if it were just given in the dict litteral form of {'toreturn':'whatireturned'} I don't think you would be giving to much away.

    That being said I enjoyed it and I'm going to try to go through the rest of this series.

  • 4500zenja1 Avatar

    Pretty unusual kata to solve, I had fun solving it :D Of course giving you like and 7 kyu (because these are just basics), but hope to see more such katas in the future ;)

    • krishsharma0413 Avatar

      ah well thank you for your comment!

      but hope to see more such katas in the future

      ah well i had many ideas but sadly because of the 12sec timeout on the python coderunner it may get a little out of time.

    • 4500zenja1 Avatar

      No problem :)

      ah well i had many ideas but sadly because of the 12sec timeout on the python coderunner it may get a little out of time.

      I hope you will find some ideas to include flask katas which could be solved within 12sec time, fingers crossed ;)