Untitled
14unknown
plain_text
2 years ago
290 B
1
Indexable
# chess = '1. d2 e6 2. e4 d5 3. Кc3 h6 4. Кf3 c5 5. e:d5 e:d5 6. O-O O-O 7. Сe2 Сe7 8. Сg5 Кc6 9. d:c5 Сe6 10. Кd4 С:c5 11. Кb3 Сe7 12. Сf3 Кe5 13. c4 Лe1 14. Ф:f3 Лc8 15. h3 К:f3+' print(chess.split()[1::3].index('O-O') + 1) print(chess.split()[2::3].index('O-O') + 1)
Editor is loading...