Problem 7: Double Eights (100pts)

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

def double_eights(n): """Return true if n has two eights in a row. >>> double_eights(8) False >>> double_eights(88) True >>> double_eights(2882) True >>> double_eights(880088) True >>> double_eights(12345) False >>> double_eights(80808080) False """ "*** YOUR CODE HERE ***"