OmerFarkash commited on
Commit
09111c4
·
verified ·
1 Parent(s): a561cdd

syntax errors

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def basic_calculator(num1:float, num2:float, act:str)-> float: #it's import to s
32
  elif act == '/' or act == 'div' or act == 'divide':
33
  answer = num1 / num2
34
  action = '/'
35
- elif act == '^' or act == 'power' or act == 'exponentiation' or act = 'pow':
36
  answer = pow(num1,num2)
37
  action = '^'
38
  else:
 
32
  elif act == '/' or act == 'div' or act == 'divide':
33
  answer = num1 / num2
34
  action = '/'
35
+ elif act == '^' or act == 'power' or act == 'exponentiation' or act == 'pow':
36
  answer = pow(num1,num2)
37
  action = '^'
38
  else: