From 2b19055c8630c66e2bb5f841b643c20b7ac6edaf Mon Sep 17 00:00:00 2001 From: Tim Date: Tue, 24 Nov 2015 19:33:47 +0100 Subject: [PATCH] Moved magic value to variable --- some_code_file.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/some_code_file.py b/some_code_file.py index 06028c9..a7cd58c 100644 --- a/some_code_file.py +++ b/some_code_file.py @@ -1,4 +1,6 @@ +value = 3 + def print_5(): - print(5) + print(value) print_5()