Problem 7: Double Ones (100pts)

Write a function that takes in a number and determines if the digits contain two adjacent 1s. (Reviewing Problem 4 and 5 in Lab 01 might be helpful here!)

def double_ones(n): """Return true if n has two ones in a row. >>> double_ones(1) False >>> double_ones(11) True >>> double_ones(2112) True >>> double_ones(110011) True >>> double_ones(12345) False >>> double_ones(10101010) False """ "*** YOUR CODE HERE ***"