<filename>examples/max-number.py<gh_stars>0
from dugcheck import Dugcheck

dug = Dugcheck()

@dug.question("max-number")
def solution_max_number(inp):
    max_number = max(inp["numbers"])
    return {
        "max": max_number
    }


@dug.question("climbing-stairs")
def solution_climbing(inp):
    max_number = max(inp["numbers"])
    return {
        "max": max_number
    }

dug.run(host="0.0.0.0", port=3003)

<filename>examples/max-number.py<gh_stars>0
from dugcheck import Dugcheck

dug = Dugcheck()

@dug.question("max-number")
def solution_max_number(inp):
    max_number = max(inp["numbers"])
    return {
        "max": max_number
    }


@dug.question("climbing-stairs")
def solution_climbing(inp):
    max_number = max(inp["numbers"])
    return {
        "max": max_number
    }

dug.run(host="0.0.0.0", port=3003)
