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.
strip() returns a copy of the string in which all chars have been stripped from the beginning and the end of the string, right? But lis = list(map(int, raw_input().split()))[:i] is OK, the code still works well, because we have split().
Did u try it?
Find the Runner-Up Score!
You are viewing a single comment's thread. Return to all comments →
strip() returns a copy of the string in which all chars have been stripped from the beginning and the end of the string, right? But lis = list(map(int, raw_input().split()))[:i] is OK, the code still works well, because we have split(). Did u try it?