Änderung client_test.py Key Class

This commit is contained in:
David Gebert 2021-01-31 12:59:55 +01:00
parent 29b08bef4f
commit 986e44d6c0
1 changed files with 3 additions and 3 deletions

View File

@ -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)