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.
Traceback (most recent call last):
File "solution.py", line 5, in
for i in range(int(input())):s=input();print(s[::2],s[1::2])
ValueError: invalid literal for int() with base 10: 'Hacker'
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Equal
You are viewing a single comment's thread. Return to all comments →
Traceback (most recent call last): File "solution.py", line 5, in for i in range(int(input())):s=input();print(s[::2],s[1::2]) ValueError: invalid literal for int() with base 10: 'Hacker'