Hashmap Remove Method Javascript Console Input Python