error:comparisons like do not have their mathematical meaning

NoSuchKey