def boom_7_list_comprehension(number):
    """itirate from zero to number with list comprehension,if number is divisable by 7 or contain 7 as a digit we'll add 'BOOM' to the list else we'll add the number"""
    return ["BOOM" if i % 7 == 0 or '7' in str(i) else i for i in range(number + 1)]