From 88245bb43adb62f7c86dc886b4c077e7b28ac155 Mon Sep 17 00:00:00 2001 From: Henni Mohammed Date: Mon, 2 Oct 2017 18:17:20 +0100 Subject: [PATCH] Update joke.py Small change for python3 support --- joke.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/joke.py b/joke.py index 5bcdae9..6265da2 100644 --- a/joke.py +++ b/joke.py @@ -12,5 +12,5 @@ def get_joke(): with open('data.json') as data_file: data = json.load(data_file) joke = data[random_digits(len(data))] - print joke + print(joke) return joke