18
Last seen 2 months ago
Member for 3 years, 9 months, 13 days
Difficulty Normal
Feb. 23, 2021, 9:39 a.m. | + 1 | for Comment eyes.in.head: Nice here! self.units.extend([obj() for x in range(n)]) |
Feb. 12, 2021, 11:51 a.m. | + 1 | for Comment Riddick: Not bad, you can do this solution in one line of code. |
Feb. 12, 2021, 11:50 a.m. | + 1 | for Comment Oleg_Levonjuk: Clever usage of sub. :-) I guess, the actual Morse codes could be replaced with regexes, not only sp... |
Jan. 4, 2021, 8:32 a.m. | + 1 | for Comment ogoro: you could also use: lst.rotate(1) https://docs.python.org/3/library/collections.html#collections.deq... |