Help on method randint in module random:randint(self, a, b) method of random.Random instance Return random integer in range [a, b], including both end points.reference:http://bytes.com/topic/python/answers/466655-how-pop-random-item-list