Hackerrank Python | Challenge #13 | Tuples | hash() function

preview_player
Показать описание
Challenge #13 Tuples solved.
Every object can't be hashed , only objects with immutable nature can.

immutable objects : tuples, integers, strings, etc.
mutable objects : lists , dictionary

Рекомендации по теме
Комментарии
Автор

bro I am getting -35500 so on
what could be the reason

GovindBardaval-xjgm
Автор

I have typed exactly the same lines but get a wrong answer and a value of -35.xxx

francois-xaviermenage
Автор

Bhai mujhe ye Jaana h ki hash function kya hota h or is function ne ye kya value di h is tuple ki....plz btao bhai

shubhamthakur
Автор

Sir ap iPhone XR Ka give away keb ker rehe he?

patelvraj