diff options
Diffstat (limited to 'progs/test2.py')
-rw-r--r-- | progs/test2.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/progs/test2.py b/progs/test2.py index c62d44a..9c1318d 100644 --- a/progs/test2.py +++ b/progs/test2.py @@ -1,3 +1,6 @@ -x = 1 -if y == 1: - print("a") +x = 2 ; y = 3 + +def f(x, y): + return x+y + +print(f(5,3,1)+ x + y) |