0

Can anyone please explain me the use of "import sys" in this code or in general ? I found it in python tutorial pdf.

#demo code to print multiplication table from 1 to 10 import sys for i in range(1,11): for j in range(1,11): k=i*j print(k, end=' ') print()

24th Jun 2017, 5:26 AM
Masquerade
Masquerade - avatar
1 Odpowiedź
+ 1
the code works just fine without using import sys. So what is it used for ?
24th Jun 2017, 5:27 AM
Masquerade
Masquerade - avatar