Tuples | Hash() | Python | Basic Data Types | HackerRank

preview_player
Показать описание
For 1 : 1 Tutoring
WhatsApp contact : 7278222619

Follow us on:
Whatsapp:
Telegram:

Facebook:

Linkedin:

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

Code not working wrong code it's showing

gsentertainment
Автор

What does the map function do??? Plz replyyyy

mantesh
Автор

While I practice it in my vscode, it is ok, but in hacker rank, it shows wrong answer, ( once I also found it ok in hacker rank, after that it is showing wrong answer, again and again with the same code, so submission is not being granted!)

arifislam
Автор

WRONG EXPLANATION! n in this case HAS NO VALUE in the context

aussietramp
Автор

I don't know why but I am getting run time error

shiprashetty
Автор

Hi. What's wrong with this code?

n = int(input('Enter number: '))
t = tuple(map(int, input('Enter tuple: ').split()))
print(hash(t))

this is the output --> -3550055125485641917


the output is different with hackerrank.🤔🤔

Cloudxxx
Автор

I don't know why I do the same but I get a wrong answer ?

yun-jhenchen