Message387269
My hat off to you, Mr. Peters! Your suggestion (len(moves) + 1) // 2 works perfectly and is much more elegant than --0-- len(moves) // 2. :)
Mr. Stinner, in what way would int.bit_count() be beneficial to me? |
|
| Date |
User |
Action |
Args |
| 2021-02-18 20:41:28 | PedanticHacker | set | recipients:
+ PedanticHacker, gvanrossum, tim.peters, rhettinger, mark.dickinson, vstinner, serhiy.storchaka |
| 2021-02-18 20:41:28 | PedanticHacker | set | messageid: <1613680888.21.0.207140201597.issue43255@roundup.psfhosted.org> |
| 2021-02-18 20:41:28 | PedanticHacker | link | issue43255 messages |
| 2021-02-18 20:41:28 | PedanticHacker | create | |
|