From 0b6c028fd4be048bde9369b870e6fe4b80577886 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sun, 20 Feb 2022 12:55:32 +0100 Subject: publish --- puzzles/infer_return_basic.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 puzzles/infer_return_basic.py (limited to 'puzzles/infer_return_basic.py') diff --git a/puzzles/infer_return_basic.py b/puzzles/infer_return_basic.py new file mode 100644 index 0000000..c2cbe7a --- /dev/null +++ b/puzzles/infer_return_basic.py @@ -0,0 +1,3 @@ +def f(): return "Python" + +def g(): return f() + 3 # error -- cgit v1.2.3