From d7ac5a498c1d52278e7478e456509ad1d6d82a53 Mon Sep 17 00:00:00 2001 From: brotherzhafif Date: Sat, 12 Oct 2024 15:44:55 +0700 Subject: [PATCH] Minor Fixes to data.final.ranges dan limit --- FrequencyTable.py | 4 ++-- Main.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/FrequencyTable.py b/FrequencyTable.py index 1a4d3d5..dc73898 100644 --- a/FrequencyTable.py +++ b/FrequencyTable.py @@ -69,11 +69,11 @@ def Populate(self): frequency.append(current_frequency) # Adding The Number Range From Both Frequency - current_data_range = old_number , " ~ " , current_number + current_data_range = f"{old_number} ~ {current_number}" data_range.append(current_data_range) # Adding Data Range Limit Of The Class Frequency - current_data_limit = current_bot_limit , " ~ " , current_top_limit + current_data_limit = f"{current_bot_limit} ~ {current_top_limit}" data_limit.append(current_data_limit) # Adding Data Midpoint of The Class Frequency diff --git a/Main.py b/Main.py index 181c555..b970de4 100644 --- a/Main.py +++ b/Main.py @@ -47,5 +47,6 @@ tablefmt='pipe' ) -print(table) +# print(table) +print(data.final.ranges)