Author PedanticHacker
Recipients PedanticHacker, gvanrossum, mark.dickinson, rhettinger, serhiy.storchaka, tim.peters, vstinner
Date 2021-02-18.20:41:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1613680888.21.0.207140201597.issue43255@roundup.psfhosted.org>
In-reply-to
Content
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?
History
Date User Action Args
2021-02-18 20:41:28PedanticHackersetrecipients: + PedanticHacker, gvanrossum, tim.peters, rhettinger, mark.dickinson, vstinner, serhiy.storchaka
2021-02-18 20:41:28PedanticHackersetmessageid: <1613680888.21.0.207140201597.issue43255@roundup.psfhosted.org>
2021-02-18 20:41:28PedanticHackerlinkissue43255 messages
2021-02-18 20:41:28PedanticHackercreate