From 56a70a5edd047565214a86281b1006566527ea19 Mon Sep 17 00:00:00 2001 From: Justus Jan Nico Wolff Date: Sun, 8 Jan 2023 13:11:33 +0100 Subject: [PATCH] =?UTF-8?q?Dateien=20hochladen=20nach=20=E2=80=9Ecompiler?= =?UTF-8?q?=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- compiler/target.py | 3 ++- compiler/template.py | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 compiler/template.py diff --git a/compiler/target.py b/compiler/target.py index a4911b6..e0e8201 100644 --- a/compiler/target.py +++ b/compiler/target.py @@ -1,4 +1,5 @@ #executor #block +#out #args -print(int(args[0])+int(args[1])) \ No newline at end of file +out = (int(args[0])/int(args[1])) \ No newline at end of file diff --git a/compiler/template.py b/compiler/template.py new file mode 100644 index 0000000..93da423 --- /dev/null +++ b/compiler/template.py @@ -0,0 +1,4 @@ +#executor +#block +#out +#args \ No newline at end of file