"""
FIND 33:¶
Given a list of ints, return True if the array contains a 3 next to a 3 somewhere.

has_33([1, 3, 3]) → True
has_33([1, 3, 1, 3]) → False
has_33([3, 1, 3]) → False
"""
def has_33(nums):
    r=""
    true=0
    for i in nums:
      if r==i and r==3:
          true+=1
      else:
          pass
      r=i
    #print (true)
    if true>0:
        return True
    else:
        return False

print (has_33([1, 3, 3]))
print (has_33([1, 3, 1, 3]))
print (has_33([3, 1, 3]))
print (has_33([1, 3, 1, 3, 2, 2]))
print (has_33([3, 1, 3, 4, 4]))