Änderung client_test.py Key Class
This commit is contained in:
parent
29b08bef4f
commit
986e44d6c0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user