Skip to content

Instantly share code, notes, and snippets.

View Premx's full-sized avatar
🏠
Working from home

Premx Premx

🏠
Working from home
  • Germany, Bremen
View GitHub Profile
@Premx
Premx / Ratespiel.py
Last active February 23, 2016 17:40
# 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
#Nur Tabs
from time import *
from _thread import start_new_thread
t1 = clock()
t2 = clock()
def exact(precision):
t1 = clock()