From 16a58fa0e4525e6945fb0e4d2c02e65407975bf8 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Sun, 4 Oct 2020 05:24:16 +0000 Subject: [PATCH] Remove unnecessary f-string --- Scripts/Miscellaneous/RollaDice-Game/rolladice.py | 2 +- Scripts/Miscellaneous/Wifi_Speed/wifiSpeed.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Scripts/Miscellaneous/RollaDice-Game/rolladice.py b/Scripts/Miscellaneous/RollaDice-Game/rolladice.py index 16097b020..5570daf9c 100644 --- a/Scripts/Miscellaneous/RollaDice-Game/rolladice.py +++ b/Scripts/Miscellaneous/RollaDice-Game/rolladice.py @@ -91,7 +91,7 @@ def main(): elif p2_points > p1_points: print(f"{p2} won by {p2_points - p1_points} points."); sleep(0.3) else: - print(f"Game ended in a draw..."); sleep(0.3) + print("Game ended in a draw..."); sleep(0.3) print('\nFinal Score Board:') show_score(i+1, p1, p2, p1_points, p2_points) diff --git a/Scripts/Miscellaneous/Wifi_Speed/wifiSpeed.py b/Scripts/Miscellaneous/Wifi_Speed/wifiSpeed.py index 12233d74b..3fdeae673 100644 --- a/Scripts/Miscellaneous/Wifi_Speed/wifiSpeed.py +++ b/Scripts/Miscellaneous/Wifi_Speed/wifiSpeed.py @@ -19,10 +19,10 @@ if option == 1: download = s.download() / 1000 - print(f"Download Speed : %.2f kb/s\n" % download) + print("Download Speed : %.2f kb/s\n" % download) elif option == 2: upload = s.upload() / 1000 - print(f"Upload Speed : %.2f kb/s\n" % upload) + print("Upload Speed : %.2f kb/s\n" % upload) elif option == 3: print("\nExiting Successfully...") break