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.
dude your code doesn't work if there are more than 1 entry for minima... try eliminating minima entries from whole list
lmark=[x for x in lmark if x !=y]
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Nested Lists
You are viewing a single comment's thread. Return to all comments →
dude your code doesn't work if there are more than 1 entry for minima... try eliminating minima entries from whole list lmark=[x for x in lmark if x !=y]