@William33/

# RecentHeftyTern-16

## No description

Files
• main.py
main.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
```
```from itertools import combinations

lista = [3, 9, 8, 2, 5, 6, 7, 1, 47, 16, 48, 49, 43, 19, 36, 42, 17, 41, 10, 35, 29, 12, 37, 20, 44, 45, 40, 30, 15, 21, 38, 13, 31, 14, 34, 33]

#Resultados das somas de 5 em 5.
verticais=[107,113,119,131,137,143]
horizontais=[149,141,133,117,109,101]

#Resultados das somas de 6 em 6.
cruz=150

#SOMAS#

#VERTICAIS
for comb1 in combinations(lista, 5):
if sum(comb1) == verticais[1]:
print (comb1)

#HORIZONTAIS
for comb2 in combinations(lista, 5):
if sum(comb2) == horizontais[1]:
print (comb2)

#CRUZ
for comb3 in combinations(lista, 6):
if sum(comb3) == cruz:
print (comb3)

#CRUZ

#            [41]
#            [17]
#            [49]
#[13][31][07]    [43][19][37]
#            [01]
#            [33]
#            [09]

#Resultados da matriz de 7 em 7.

[149],
[141],
[133],
[150],
[117],
[109],
[101]]

# MATRIZ

#    [47][16][41][10][35]
#[05]    [48][17][42]    [29]
#[30][06]    [49]    [36][12]
#[13][31][07]    [43][19][37]
#[38][14]    [01]    [44][20]
#[21]    [08][33][02]    [45]
#    [15][40][09][34][03]

#[107][113][119][150][131][137][143]
#                                   [149]
#                                   [141]
#                                   [133]
#                                   [150]
#                                   [117]
#                                   [109]
#                                   [101]

```
Fetching token