Engineer-Areeb commited on
Commit
7ba8e04
·
verified ·
1 Parent(s): f1c5dfd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,13 +5,14 @@ st.set_page_config(page_title="Scientific Calculator", layout="centered")
5
  st.title("🧮 Scientific Calculator")
6
 
7
  # Input expression
8
- expression = st.text_input("Enter a mathematical expression (e.g., 2*(3+4) / sin(45)):")
9
 
10
  # Instructions
11
  with st.expander("📘 Instructions"):
12
  st.markdown("""
13
  You can use the following operations and functions:
14
 
 
15
  - Basic arithmetic: `+`, `-`, `*`, `/`, `**` (power)
16
  - Trigonometric: `sin(x)`, `cos(x)`, `tan(x)` (in degrees)
17
  - Logarithms: `log(x)` (natural), `log10(x)`
 
5
  st.title("🧮 Scientific Calculator")
6
 
7
  # Input expression
8
+ expression = st.text_input("Enter a mathematical expression (e.g., 2*(3+4)/sin(45)):")
9
 
10
  # Instructions
11
  with st.expander("📘 Instructions"):
12
  st.markdown("""
13
  You can use the following operations and functions:
14
 
15
+ - There shouldn't be any blank space as well
16
  - Basic arithmetic: `+`, `-`, `*`, `/`, `**` (power)
17
  - Trigonometric: `sin(x)`, `cos(x)`, `tan(x)` (in degrees)
18
  - Logarithms: `log(x)` (natural), `log10(x)`