From e268272771f19189c758280b5b27aad39c94fef1 Mon Sep 17 00:00:00 2001 From: bkkavin <70782359+bkkavin@users.noreply.github.com> Date: Mon, 18 Dec 2023 21:00:36 +0530 Subject: typo in learn x in y minutes python page (#4812) --- python.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python.html.markdown') diff --git a/python.html.markdown b/python.html.markdown index 967c2bd7..d863bcc3 100644 --- a/python.html.markdown +++ b/python.html.markdown @@ -669,7 +669,7 @@ def create_avg(): avg = create_avg() avg(3) # => 3.0 avg(5) # (3+5)/2 => 4.0 -avg(7) # (8+7)/2 => 5.0 +avg(7) # (8+7)/3 => 5.0 # There are also anonymous functions (lambda x: x > 2)(3) # => True -- cgit v1.2.3