Python collection works