I am building a code for job scheduling algorithm in python and during documenting it i.e in docset it is raising error : ValueError: 0 is not in list but 0 is present in