So, I have double-digit numbers below 100. Below 10 python doesn't handle them out-of-the-box. I have seen many different solutions, but I'm just fine with converting them to strings and then check whether the it starts with 0.
The below code is just a sample test of checking the above condition, but fails:
num = 01
if str(num).startswith('0'):
    print 'yepp'
else:
    print 'nope'
I keep getting "nope" for this very example. Why?
 
     
    