From 3790e3a1b5c0e5e285db9fee9144a16f589c3374 Mon Sep 17 00:00:00 2001 From: pqz9v2hpu Date: Fri, 7 Feb 2025 20:07:48 +0800 Subject: [PATCH] ADD file via upload --- 5_14.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 5_14.py diff --git a/5_14.py b/5_14.py new file mode 100644 index 0000000..b4f8f0c --- /dev/null +++ b/5_14.py @@ -0,0 +1,8 @@ +def my_func(): + a = 10 + print("a:{}".format(a)) + print("b:{}".format(b)) +b = 20 +my_func() +print("b:{}".format(b)) +print("a:{}".format(a))