Updated README

This commit is contained in:
Ilan Steemers
2015-06-18 18:59:31 +02:00
parent e6cfdf6a1f
commit 45e5187126
3 changed files with 60 additions and 12 deletions
+12 -1
View File
@@ -9,5 +9,16 @@ def countdown(n):
return stop_time - start_time
def count_letters(tup):
total = 0
for word in tup:
total += len(word)
return total
def count_letters2(obj):
return count_letters(obj.get_words())
def result(obj):
print('RESULT HOOK: {}'.format(obj.result))
print('RESULT HOOK {} : {}'.format(obj.name, obj.result))