The python program will request for a ten digit number from the user and formulate a real phone number from it.
The program is written in python.
Therefore,
x = input("please write a ten digit number: ")
if len(x) == 10:
a = f"({x[0:3]})"
b = x[3:6]
c = x[7:]
print(a + " " + b + "-" + c)
learn more on python here: brainly.com/question/13462052
#SPJ1