Share your repls and programming experiences

← Back to all posts
I wrote a short story
SpoonyTheGreat (4)

So I wrote a short story for a competition. It's exactly 100 words and I think it's pretty decent if I do say so myself. Tell me what you think.

Comments
hotnewtop
xfinnbar (81)

Tip: instead of using two functions for the story, one with /waiting-for-a-clue and one with /waiting-for-a-clue/, you can add two different @app.routes for one function:

@app.route('/waiting-for-a-clue/')
@app.route('/waiting-for-a-clue')
def story():
  return render_template('waiting-for-a-clue.html')
SpoonyTheGreat (4)

@xfinnbar Cheers for that, btw do you like the story