def printResults(string): x = DBnormalizer.parseInput(string) if len(x) < 3: return x[0] else: relation = x[0] fds = x[1][:] mvds = x[2][:] numberOfAttributes = x[3] result = DBnormalizer.computeEverything(relation, fds, mvds) return views.resultToString(relation, x[1], x[2], result)