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.
I found your solution amazing! very pythonic I'd say, right? Clear and DRY
However the way the question was put made a lot of confusion on my head .. it took me awhile to get it working among my few different if / else .. I wonder how you read the question .. I mean ... am I missing something in the presented question?
anyway ... thanks for the colaboration, I really enjoyed your solution!
cheers
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Write a function
You are viewing a single comment's thread. Return to all comments →
I found your solution amazing! very pythonic I'd say, right? Clear and DRY
However the way the question was put made a lot of confusion on my head .. it took me awhile to get it working among my few different if / else .. I wonder how you read the question .. I mean ... am I missing something in the presented question?
anyway ... thanks for the colaboration, I really enjoyed your solution!
cheers