diff --git a/client_test.py b/client_test.py index 478d309..f95c418 100644 --- a/client_test.py +++ b/client_test.py @@ -1,7 +1,7 @@ import math -class key: +class Key: how_many_keys = 0 # Initialisierung eines Schlüssels @@ -21,12 +21,12 @@ class key: key_list = [] for i in range(11, 42, 10): - a = "key_" + str(i) + " = key(" + str(i) + ")" + a = "key_" + str(i) + " = Key(" + str(i) + ")" exec(a) a2 = "key_list.append(key_" + str(i) + ")" exec(a2) - b = "key_" + str(i+1) + " = key(" + str(i+1) + ")" + b = "key_" + str(i+1) + " = Key(" + str(i+1) + ")" exec(b) b2 = "key_list.append(key_" + str(i+1) + ")" exec(b2)