HackerRank Python Basic Data Type Tuples Problem Solution

HackerRank Python Basic Data Type Tuples Problem Solution

Instructor-svgAl-Mamun Sarkar
Mar 23 , 2020

HackerRank Python Basic Data Type Tuples Problem Solution. Click here to see the problem.

Code: 

if __name__ == '__main__':
    n = int(input())
    integer_list = tuple(map(int, input().split()))
    print(hash(integer_list))

Test Input:

2
1 2

Test Output:

3713081631934410656
  • Share On:
  • fb
  • twitter
  • pinterest
  • instagram