From 6234d5163912a5b0483384ca7c44e03b0ea54333 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Fleuret?= Date: Wed, 5 Jul 2023 16:32:52 +0200 Subject: [PATCH] Update. --- expr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expr.py b/expr.py index ca33daf..e073dca 100755 --- a/expr.py +++ b/expr.py @@ -78,7 +78,7 @@ def generate_sequences(nb, nb_variables=5, length=20, randomize_length=False): k = list(result.keys()) k.sort() - sequences.append(p + " " + ";".join([v + ":" + str(result[v]) for v in k])) + sequences.append(p + " " + "".join([v + ":" + str(result[v]) + ";" for v in k])) return sequences -- 2.39.5