-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrunner.py
36 lines (29 loc) · 860 Bytes
/
runner.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
"""
Luke Kurlandski
Tchisla Solver Manual Run
Spring 2020
User runs to solve a Tchisla puzzle.
"""
import tchisla
def command_line_runner():
print("\nWelcome to Tchisla Solver! Enter \"Q\" to Quit.\n")
while(True):
print("Enter the number to find:")
i = input()
if i == "Q":
break
TARGET = int(i)
print("Now enter a number to use:")
i = input()
if i == "Q":
break
USE = int(i)
print("\nSolving.....")
tchisla.calculate(TARGET, USE)
print("\nHope you enjoyed cheating at Tchisla!")
def alt_runner1():
for i in range(1, 10):
print(tchisla.calculate(i, "100,101,102,103,104,105,106,107,108,109", 10000, 20000, 20000, 24),"\n\n\n")
def alt_runner2():
print(tchisla.calculate(8, "100", 10000, 20000, 20000, 24))
alt_runner1()