On Sep 20, 1:15 pm, Peng Yu <pengyu...@gmail.com> wrote:
> The problem is how to know what type of the argument and call the
> corresponding function.

>>> type(1)
<type 'int'>
>>> type(1.2)
<type 'float'>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to