import dash
import dash_html_components as html
import dash_core_components as dcc
from dash.dependencies import Input, Output
import pandas as pd
app = dash.Dash()
app.layout = html.Div([dcc.RangeSlider(id='range-slider', marks={i: str(i) for
    i in range(-5, 6)}, min=-5, max=5, value=[-1, 1]), html.H1(id='product'
    )], style={'width': '100%'})


@app.callback(Output('product', 'children'), [Input('range-slider', 'value')])
def update_value(value_list):
    return value_list[0] * value_list[1]


if __name__ == '__main__':
    app.run_server()

b1571f975e40337e2095d075bfed4c1911f096e0
<mask token>


@app.callback(Output('product', 'children'), [Input('range-slider', 'value')])
def update_value(value_list):
    return value_list[0] * value_list[1]


<mask token>

<mask token>


@app.callback(Output('product', 'children'), [Input('range-slider', 'value')])
def update_value(value_list):
    return value_list[0] * value_list[1]


if __name__ == '__main__':
    app.run_server()

<mask token>
app = dash.Dash()
app.layout = html.Div([dcc.RangeSlider(id='range-slider', marks={i: str(i) for
    i in range(-5, 6)}, min=-5, max=5, value=[-1, 1]), html.H1(id='product'
    )], style={'width': '100%'})


@app.callback(Output('product', 'children'), [Input('range-slider', 'value')])
def update_value(value_list):
    return value_list[0] * value_list[1]


if __name__ == '__main__':
    app.run_server()

import dash
import dash_html_components as html
import dash_core_components as dcc
from dash.dependencies import Input, Output
import pandas as pd
app = dash.Dash()
app.layout = html.Div([dcc.RangeSlider(id='range-slider', marks={i: str(i) for
    i in range(-5, 6)}, min=-5, max=5, value=[-1, 1]), html.H1(id='product'
    )], style={'width': '100%'})


@app.callback(Output('product', 'children'), [Input('range-slider', 'value')])
def update_value(value_list):
    return value_list[0] * value_list[1]


if __name__ == '__main__':
    app.run_server()
