Very hard to say.
LISP has OOP too, Google for CLOS.
Operator overloading is something to avoid anyway, IMHO, just like
static typing is something to avoid if you need fast development, on
schedule and the like.
LISP has one thing that Python does not have: LISP code is LISP data.
A thorough stu
Oops, the 3rd test should be
fill('bb', p='Aa')
resulting in the empty dict {} because no binding for A can be found.
--
http://mail.python.org/mailman/listinfo/python-list
I am looking for a function that takes an input string
and a pattern, and outputs a dictionary.
# @param s str, lowercase letters
# @param p str, lowercase and uppercase letters
# @return dict
def fill(s, p):
d = {}
return d
String s has characters from the lowercase letters.
Str