Skip to content

Commit 5c95b3f

Browse files
authored
Merge pull request #1 from ZososoUtsav/patch-1
added ln14 to ln22
2 parents 882a58e + c23f831 commit 5c95b3f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

bandwith.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,15 @@
1111
if option < 1 or option > 4:
1212
sleep(2)
1313
print('🤖 Sorry, you have entered the wrong option')
14-
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()
1523

1624
if option == 1:
1725
print(f'The download speed is ', download_speed, ' Mbps')

0 commit comments

Comments
 (0)