We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Basic Data Types
- Tuples
- Discussions
Tuples
Tuples
Sort by
recency
|
1646 Discussions
|
Please Login in order to post a comment
When run with python3, all tests and submitted code fails. When run with pypy3, the test works, and one of the submitted code tests run, but the other one fails.
There is an issue with this problem. advanced systemcare ultimate 16.7 key
mine give answer in negative i dont know why
if name == 'main': n = int(input()) integer_list =tuple(map(int, input().split()[:n])) positive_hash = abs(hash(integer_list)) print(positive_hash)
When run with python3, all tests and submitted code fails. When run with pypy3, the test works, and one of the submitted code tests run, but the other one fails.
There is an issue with this problem.
Something wrong with the task. I can't solve it neither with my solution nor with any solution from leaderboards or comments. The same works on my felow's windows laptop, but doesn't work on my macbook.
UPD. I tried to switch to Pypy 3 instead of Python 3 and it worked.