Exemplo n.º 1
0
def mode():
    user_input = request.form.get('input')

    user_input = list(map(int, user_input))
    results = calculator.mode(user_input)

    return jsonify({'output': results}), HTTPStatus.OK
Exemplo n.º 2
0
def mode():
	# user_input = 

	user_input = list(map(int, user_input))
	results = calculator.mode(user_input)

	return jsonify({'output':results}), HTTPStatus.OK