17
Vitalii
Last seen 1 year ago
Member for 9 years, 7 months, 9 days
Difficulty Normal
July 13, 2016, 3:41 p.m. | + 1 | for Comment not_real: `array[::2]` is the shortcut notation for `[array[i] for i in range(0, len(array), 2)]` |
Feb. 5, 2016, 5:07 a.m. | + 1 | for Comment sevaader: very very readable =) I'm gonna save it as screenshot for few days. |
Dec. 2, 2015, 4:21 a.m. | + 1 | for Comment Hayertjez: For the volume function you could use return self.area() * self.height Instead of return self.width_... |
Nov. 25, 2015, 4:18 p.m. | + 1 | for Comment veky: Why is `check` a separate function? Considering the context, name is not really very semantical. And... |
Aug. 16, 2015, 8:51 p.m. | + 1 | for Comment emp23: Very nice. I'll have to keep in mind this trick of using strings like this to help searching for pat... |
June 10, 2015, 5:27 p.m. | + 1 | for Comment suic: Hi, 1. Look at _set()_. 2. Line 11 is not Pythonic and you can replace lines 11-13 with: return not ... |