Find Ith Bit Of A Number Leetcode Problems On Strings In Python