From 9ab8831747bb3fc885b406e75aba104ed3987a9a Mon Sep 17 00:00:00 2001 From: wil1liam Date: Thu, 5 Apr 2018 14:22:33 +0200 Subject: [PATCH] improved readability of the memo --- trendchecker.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/trendchecker.py b/trendchecker.py index d72c84d..00e0ab9 100644 --- a/trendchecker.py +++ b/trendchecker.py @@ -46,7 +46,7 @@ def check_trending(url): print("trending---") print(i+ " --tag") print(count1) - memo += str(count1) +". in trending, " + memo += str(count1) +". in TRENDING " break count1 += 1 @@ -55,7 +55,7 @@ def check_trending(url): print("hot---") print(i+ " --tag") print(count2) - memo += str(count2) +". in hot " + memo += str(count2) +". in HOT " break count2 += 1 @@ -68,7 +68,7 @@ def check_trending(url): break count3 += 1 - memo += ", " + memo += "| " return memo