Python and Flaming Thunder

Matthieu Brucher matthieu.brucher at gmail.com
Tue May 13 13:58:01 EDT 2008


>
> Perhaps.  But if elementary school students can easily understand why
> one programming language gives the answer 100 (Flaming Thunder):
>
>  Write 10^2.
>
> but can't understand why another programming language gives the answer
> 8 (Python):
>
>  Print 10^2
>
> then I think the comparison moves beyond a matter of taste into the
> realm of measurable ease-of-use.
>

Well...

>>> 10**2
100

Why ^ ? There is no good reason why use ^ over ** and vice versa, so what
you try to prove is not with your example.

Matthieu
-- 
French PhD student
Website : http://matthieu-brucher.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn : http://www.linkedin.com/in/matthieubrucher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080513/12725309/attachment.html>


More information about the Python-list mailing list