Skip to content

Commit 882a58e

Browse files
authored
Update bandwith.py
1 parent 708783a commit 882a58e

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

bandwith.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,8 @@
1111
if option < 1 or option > 4:
1212
sleep(2)
1313
print('🤖 Sorry, you have entered the wrong option')
14-
else:
15-
sleep(1)
16-
print()
17-
print('Please wait test in progress...⌛️')
18-
download_speed = round(speed.download()/1000000, 3)
19-
upload_speed = round(speed.upload()/1000000, 3)
20-
print('One moment please 🙂')
21-
sleep(2.5)
22-
print()
14+
15+
2316
if option == 1:
2417
print(f'The download speed is ', download_speed, ' Mbps')
2518
elif option == 2:

0 commit comments

Comments
 (0)