• + 0 comments

    if name == 'main': n = int(input()) string_list=input().split() int_list=[int(string_list[i]) for i in range(n)] t=tuple(int_list) print(hash(t)) One who is wondering use of n variable, it can be used as above for string to int conversion.