Binary Strings - No Consecutive 1's

Hi Team,

I am unable to code it. Can you please help me out?
I am doing this using Python3.

Thank you.

what should be the base case?