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.
when you int to convert a string into a integer, int(str) will automatically remove '\n', so I don't think you need to use strip. Correct me if I am wrong.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Python If-Else
You are viewing a single comment's thread. Return to all comments →
when you int to convert a string into a integer, int(str) will automatically remove '\n', so I don't think you need to use strip. Correct me if I am wrong.