## Write a function that accepts an array of 10 integers (between 0 and 9), that returns a string of those numbers in the form of a phone number.
## create_phone_number([1, 2, 3, 4, 5, 6, 7, 8, 9, 0]) # => returns "(123) 456-7890"

def create_phone_number(n):
    #your code here
    if len(n) > 10:
        return print('Número de telefone incorreto!')

    n.insert(0,'(')
    n.insert(4,')')
    n.insert(5,' ')
    n.insert(9,'-')
    n = ''.join(map(str,n))
    return print(n)
18702b23c16c1fbb8cbaf7154c04d1b5384c1aea
<mask token>

def create_phone_number(n):
    if len(n) > 10:
        return print('Número de telefone incorreto!')
    n.insert(0, '(')
    n.insert(4, ')')
    n.insert(5, ' ')
    n.insert(9, '-')
    n = ''.join(map(str, n))
    return print(n)

## Write a function that accepts an array of 10 integers (between 0 and 9), that returns a string of those numbers in the form of a phone number.
## create_phone_number([1, 2, 3, 4, 5, 6, 7, 8, 9, 0]) # => returns "(123) 456-7890"

def create_phone_number(n):
    #your code here
    if len(n) > 10:
        return print('Número de telefone incorreto!')

    n.insert(0,'(')
    n.insert(4,')')
    n.insert(5,' ')
    n.insert(9,'-')
    n = ''.join(map(str,n))
    return print(n)