Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Update mathTricks.py #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mathTricks.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def divide(num1,num2):
firstNum = random.randint(-100,100)
secondNum = random.randint(-100,100)
opNum = random.randint(0,3)
print("{}) {} {} {} = ".format(i+1,firstNum,operators[opNum],secondNum))
print("{}. {} {} {} = ".format(i+1,firstNum,operators[opNum],secondNum))
answer = float(input(""))

funcDict = {'+' : add(firstNum,secondNum),
Expand Down Expand Up @@ -80,4 +80,4 @@ def divide(num1,num2):

print("See you soon")
time.sleep(2)
input("Press enter to exit ")
input("Press enter to exit ")