View Ratespiel.py
# 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 |
View pi_calculator.py
#Nur Tabs | |
from time import * | |
from _thread import start_new_thread | |
t1 = clock() | |
t2 = clock() | |
def exact(precision): | |
t1 = clock() |