From 1c70783d22fdbd122ba9486c2f20c335bb1146fa Mon Sep 17 00:00:00 2001 From: dymik739 Date: Thu, 16 Mar 2023 23:02:57 +0200 Subject: [PATCH] add matrix.py server-side code --- labs/2/matrix.py | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 labs/2/matrix.py diff --git a/labs/2/matrix.py b/labs/2/matrix.py new file mode 100644 index 0000000..5b169ea --- /dev/null +++ b/labs/2/matrix.py @@ -0,0 +1,2 @@ +import random +print("Content-Type: text/plain\n\n" + "\n".join([" ".join(list(map(str, [random.randint(-40, 40) for i in range(7)]))) for i in range(7)]))