Obtain Queue Function In Python Practice