Question: Write a function in python that accepts an array of 1 0 integers ( between 0 and 9 ) , that returns a string of

Write a function in python 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.
Example below
Create_phone_number([1,2,3,4,5,6,7,8,9,0]) # => returns "(123)456-7890"
The returned format must be correct in order to complete this challenge.
Don't forget the space after the closing parentheses!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!