Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,25 +21,25 @@ col1, col2, col3 = st.columns(3)
|
|
| 21 |
|
| 22 |
with col1:
|
| 23 |
if st.button('sin(x)', key='sin_button'):
|
| 24 |
-
expression += 'sin('
|
| 25 |
with col2:
|
| 26 |
if st.button('cos(x)', key='cos_button'):
|
| 27 |
-
expression += 'cos('
|
| 28 |
with col3:
|
| 29 |
if st.button('tan(x)', key='tan_button'):
|
| 30 |
-
expression += 'tan('
|
| 31 |
|
| 32 |
col4, col5, col6 = st.columns(3)
|
| 33 |
|
| 34 |
with col4:
|
| 35 |
if st.button('log(x)', key='log_button'):
|
| 36 |
-
expression += 'log('
|
| 37 |
with col5:
|
| 38 |
if st.button('sqrt(x)', key='sqrt_button'):
|
| 39 |
-
expression += 'sqrt('
|
| 40 |
with col6:
|
| 41 |
if st.button('exp(x)', key='exp_button'):
|
| 42 |
-
expression += 'exp('
|
| 43 |
|
| 44 |
col7, col8 = st.columns(2)
|
| 45 |
|
|
|
|
| 21 |
|
| 22 |
with col1:
|
| 23 |
if st.button('sin(x)', key='sin_button'):
|
| 24 |
+
expression += 'sin()'
|
| 25 |
with col2:
|
| 26 |
if st.button('cos(x)', key='cos_button'):
|
| 27 |
+
expression += 'cos()'
|
| 28 |
with col3:
|
| 29 |
if st.button('tan(x)', key='tan_button'):
|
| 30 |
+
expression += 'tan()'
|
| 31 |
|
| 32 |
col4, col5, col6 = st.columns(3)
|
| 33 |
|
| 34 |
with col4:
|
| 35 |
if st.button('log(x)', key='log_button'):
|
| 36 |
+
expression += 'log()'
|
| 37 |
with col5:
|
| 38 |
if st.button('sqrt(x)', key='sqrt_button'):
|
| 39 |
+
expression += 'sqrt()'
|
| 40 |
with col6:
|
| 41 |
if st.button('exp(x)', key='exp_button'):
|
| 42 |
+
expression += 'exp()'
|
| 43 |
|
| 44 |
col7, col8 = st.columns(2)
|
| 45 |
|