REST API for random number generation using Falcon
This is a small code, but there are some improvements to make:


useless copy-paste, what if you had 5 conditions?:

if 'min' not in req.params:
    raise falcon.HTTPMissingParam('min')

if 'max' not in req.params:
    raise falcon.HTTPMissingParam('max')



when you can do:

for c in ['min','max']:
  if c not in req.params:
      raise falcon.HTTPMissingParam(c)



don't test with == False

if min_n.isnumeric() ==  False:



should be

    if not min_n.isnumeric():