-
Notifications
You must be signed in to change notification settings - Fork 2
/
test.py
55 lines (40 loc) · 855 Bytes
/
test.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import numpy as np
testarray = [False, False, False, False]
ta = [[7, 8, 9], [1, 2, 3], [4, 5, 6]]
if not any(testarray):
print("erfolgreich")
t = np.matrix(testarray)
print(np.matrix(ta).T)
print(np.matrix(ta).T.T)
print(t)
print(t.T)
tt = t.T
print(tt.T)
print(ta[-1])
round_counter = 0
max_rounds = 10
d = 1
delta_nr = 0.2
dicti = {"we": 0}
try:
while True:
for _ in range(3):
if "we" in dicti:
continue
print("hello")
print("MOooooooooooooin")
raise StopIteration
except StopIteration:
pass
print(min([0]))
letzte = -1
asdf = [1,2,3,4]
print(asdf[letzte])
punkt = [1,4]
print("-------")
print(asdf[:2])
print(asdf[2:])
while round_counter < max_rounds and d > delta_nr:
round_counter += 1
d = d / 2
print(f"Runde nr: {round_counter}, d = {d}")