Sort by

recency

|

1907 Discussions

|

  • + 0 comments

    Code is for Python 2: like or upvote if it works for you too. thanks... :)

    n = int(raw_input()) 
    integer_list = tuple(map(int, raw_input().split()))
    print(hash(integer_list))
    
  • + 1 comment

    if name == 'main': n = int(raw_input()) integer_list = tuple(map(int, raw_input().split())) print(hash(integer_list))

    Note : Try this code in Python 2 version not 3 or pypi 3

  • + 0 comments

    n = int(input()) t = tuple(map(int, input().split())) print(hash(t))

  • + 2 comments

    if name == "main": n = int(input()) integer_list = tuple(map(int, input().split())) print(hash(integer_list))

    I have run this exercise code many times, but it returns a negative output. What is the problem?

  • + 0 comments

    #PYTHON 3

    CODE: n=int(input()) list_number=list(map(int,input().split())) tuple_number=tuple(list_number) print(hash(tuple_number))

    This code why not work every one see this explain please