Hackerank Python Basic Data Types Tuples Solution

admin
By -
0

Hackerank  Python Basic Data Types Tuples


Task: Given an integer, , and  space-separated integers as input, create a tuple, , of those  integers. Then compute and print the result of


Problem: HackerRank

Solution:


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

Post a Comment

0Comments

Put Your Thought or Query Here

Post a Comment (0)