M. Bashir Al-Noimi wrote:
<snip>
<snip>
humm, you confused me I'm still a newbie and I don't know anything about differences between C++ & python even I couldn't understand you. How C++ is a static language !??!!

In C++, every variable is declared, and the type of that variable is static over its lifetime. The only flexibility there is that a variable may also get a value of some derived type of its declared type. In Python, variables have no fixed type at all, only the objects (that they're bound to) have type. A variable can be an integer one time, a string the next, and an arbitrary object after that.

DaveA

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to