13
Kristoffel Pirard
Last seen 4 years ago
Member for 9 years, 9 months, 23 days
Difficulty Normal
Oct. 1, 2014, 6:26 a.m. | + 1 | for Comment Akay: Maybe better will be if everytime didn't calculated seq_len. You can find all allowable sequences us... |
Sept. 28, 2014, 3:31 p.m. | + 1 | for Comment Cjkjvfnby: You can use **elif** or **else** to avoid additional checks. No need to have **operator** variable. ... |
Sept. 28, 2014, 3:28 p.m. | + 1 | for Comment Cjkjvfnby: http://www.checkio.org/forum/post/1618/proper-way-to-check-if-sequence-is-empty/ you can use str.sta... |
Sept. 8, 2014, 6:01 p.m. | + 1 | for Comment Cjkjvfnby: You code is little inconsistent, some times calc return bool, sometimes int. You can simplify your r... |
Sept. 8, 2014, 5:51 p.m. | + 1 | for Comment Cjkjvfnby: I prefer to use dict literals: {'conjunction': and_} Dont wrap **=** with spaces in function call. |
Sept. 6, 2014, 8:13 p.m. | + 1 | for Comment shshlomy: very nice solution i will use: if x[int(i[0])] == x[int(i[1])] == x[int(i[2])]!="." instead |