17
xiaoxiannv-TangTang
3 10 31
1587/ 1695
Last seen 3 years ago
Member for 3 years, 5 months, 27 days
Difficulty Normal
Best reviews / Newest reviews
try items[items.index(border):]-Olpag 1
Nice solution using the try, except. It inspires me to use try/except to handle cases where logic conditions are not met. =) More
Remove All B4-Zali
I do not see the meaning of using copy here. We did not do any alteration of the list, just find the index of border. If someone can explain a little bit, that would be very helpful =) More
First-bearpaddy
nice solution, short and elegant. Good work! =) More
Short IF-chur4hella
Very elegant work in just one line!! I will try to use more if else within one line too . =) More
First-mohamedsleymi2016
Very elegant code using built in method. I kinda like your solution. More
First with pop and insert-Vitaly_Titkov
Very nice solution. I would just using slices of list , like [items[-1]] + items[:-1] . It inspires me to do it in another way. Nice work ! More
str.index - ValueError-oduvan
Very elegant solution using built in method. I should do the same, thinking about using built in method next time! More
sort()-tvylormvde
Nice work. I will just trun the inout to a list and then i can use the built in function max and min , then do the minus. I suppose that python takes care of the operation between int and float automatically. If that is not the case, please correct me . More