You are viewing a single comment's thread. Return to all comments →
I am using python3 and its working fine in my local setup. But its throwing some list index error.Looks like it is not splitting the sentences.
Below are my sample code to split sentences into a list N = int(input()) data = input()
sentences = data.split('\n\n')
Is there any way to troubleshoot code in hackerank environment?
Seems like cookies are disabled on this browser, please enable them to open this website
A Text-Processing Warmup
You are viewing a single comment's thread. Return to all comments →
I am using python3 and its working fine in my local setup. But its throwing some list index error.Looks like it is not splitting the sentences.
Below are my sample code to split sentences into a list N = int(input()) data = input()
sentences = data.split('\n\n')
Is there any way to troubleshoot code in hackerank environment?