From cb1e6794a2373b674e9521ec96897da5b331530a Mon Sep 17 00:00:00 2001 From: Tiitus Lehtinen <tlehtinen@paivola.fi> Date: Sat, 3 Aug 2024 20:16:42 +0300 Subject: [PATCH] =?UTF-8?q?Muutos:=20tiedoston=20"functio=5Fdemo.py"=20esi?= =?UTF-8?q?merkki=20oli=20vajavainen,=20siisp=C3=A4=20t=C3=A4ydensin=20(Lu?= =?UTF-8?q?e:=20"korjasin")=20sit=C3=A4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- simple-python/functio_demo.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/simple-python/functio_demo.py b/simple-python/functio_demo.py index c4355f5..0a564c5 100644 --- a/simple-python/functio_demo.py +++ b/simple-python/functio_demo.py @@ -2,12 +2,13 @@ def summaa(a, b): return a+b +x = 1 +y = 2 # Käyttö print("Print on funktio") +print(f'{x} + {y}') -x = 1 -y = 2 print(summaa(x, y)) # Edelleinen on sama kun -print(x+y) +# print(x+y) -- GitLab