[Solved]: NameError: name 'sys' is not defined

import sys package:

import sys