On Monday, October 21, 2013 9:29:34 PM UTC-5, Steven D'Aprano wrote:
> On Mon, 21 Oct 2013 01:43:52 -0700, Peter Cacioppi wrote:
> 
> Challenge: give some examples of things which you can do in Python, but 
> cannot do *at all* in C, C++, C#, Java?

Ummm... hmmm.... let me try here...

string = 'Python is the Best!'

if string:
    try:
        string = int(string)
    except Exception as exc:
        integer = str(integer)
else:
    print('Typecasting Maybe...')

I get more comments on "Typecasting" from those who don't know how to use a 
press more than anything, than I get from the typesetter.
#... maybe she's ignoring me...

Am I right?
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to