This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Read user input | |
def readInt(prompt,errormessage): | |
while True: | |
tmp = input(prompt) | |
if tmp.isdecimal(): | |
return int(tmp) | |
else: | |
print(errormessage) | |
#Get up- and downBorder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Nur Tabs | |
from time import * | |
from _thread import start_new_thread | |
t1 = clock() | |
t2 = clock() | |
def exact(precision): | |
t1 = clock() |