Browse Source

added exp & mod

pull/3/head
wolfer 2 years ago
parent
commit
e0a5b4b347
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      calculator.py

+ 4
- 2
calculator.py View File

@@ -15,10 +15,12 @@ def div(x, y):
return x / y

def mod(x, y):
pass
z = x % y
return z

def exp(x, y):
pass
z = x ** y
return z

#################################
# RUN CALCULATOR & MAIN FUNCTIONS


Loading…
Cancel
Save