You are viewing a single comment's thread. Return to all comments →
The code passes all test-cases with Python 2 but gives runtime error for last four test-cases with Python 3 (necessary changes made as per version).
Python 2 link : https://www.hackerrank.com/challenges/py-the-captains-room/submissions/code/13411421
Python 3 link : https://www.hackerrank.com/challenges/py-the-captains-room/submissions/code/13411279
What's wrong with Python 3 here ?
Seems like cookies are disabled on this browser, please enable them to open this website
The Captain's Room
You are viewing a single comment's thread. Return to all comments →
The code passes all test-cases with Python 2 but gives runtime error for last four test-cases with Python 3 (necessary changes made as per version).
Python 2 link : https://www.hackerrank.com/challenges/py-the-captains-room/submissions/code/13411421
Python 3 link : https://www.hackerrank.com/challenges/py-the-captains-room/submissions/code/13411279
What's wrong with Python 3 here ?