def buildSomeConnections(modules):
 res = []
 for i in range(((len(modules) // 3) - 1)):
  res.append(FullConnection(modules[(i * 2)], modules[((i * 3) + 1)]))
 return res

def buildSomeConnections ( modules ) : res = [ ] for i in range ( ( ( len ( modules ) // 3 ) - 1 ) ) : res . append ( FullConnection ( modules [ ( i * 2 ) ] , modules [ ( ( i * 3 ) + 1 ) ] ) ) return res
add a connection from every second to every third module .