#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sat Dec 15 18:19:52 2018

@author: harriet
"""

#
#The number 6 is a truly great number. Given two int values, a and b, return True if either one is 6. Or if their sum or difference is 6. Note: the function abs(num) computes the absolute value of a number.
#
#
#love6(6, 4) → True
#love6(4, 5) → False
#love6(1, 5) → True


def love6(a, b):
  return either_6(a,b) or sum_6 (a,b) or diff_6(a,b)
  
def either_6(a, b):
  return a == 6 or b == 6
  
def sum_6(a,b):
  return a+b == 6
  
def diff_6 (a,b):
  return abs(a-b) == 6
  