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.
they strip the last newline so it's actually fine.
at least my code passes so if its still a problem with the newline then I somehow passes it. But the reason I didn't get accepted was a missing '.' in one of the returns so after I fix that I got accepted.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Day 4: Class vs. Instance
You are viewing a single comment's thread. Return to all comments →
they strip the last newline so it's actually fine.
at least my code passes so if its still a problem with the newline then I somehow passes it. But the reason I didn't get accepted was a missing '.' in one of the returns so after I fix that I got accepted.