Skip to content

Commit 361f950

Browse files
committed
Added a Emacs Lisp track-spepcific instruction to "Phone Number".
1 parent b61efbb commit 361f950

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Instructions Append
2+
3+
In addition to the function, _numbers_, that cleans up user-entered phone numbers, you need to write two more functions, _area-code_ and _pprint_ in the Emacs Lisp track. Both of the extra functions take the user-entered phone number as their inputs. The first function _area-code_ extracts the area code from the input, while the second function _pprint_ transforms the input to a string in the format of
4+
```
5+
(NXX) NXX-XXXX
6+
```
7+
where `N` and `X` are as described above.

0 commit comments

Comments
 (0)