Hi all,
I had a co-worker say to me at work that Python was related to or based upon BASIC. Is this true, and if not, how can I tell my friend why they are similar?
There are many versions of BASIC (Beginners All-Purpose Symbolic Instruction Code) (or something like that). What most have in common with Python (and a lot of other programming languages) is:
variables of various data types
statements
expressions with numeric, string, relational and boolean operations
sequential execution
control structures for conditionals and loops
subroutines
input/output
arrays
some BASIC versions also add
exception handling
an attempt at OO
Python differs in
the use of indentation to convey control structure
dictionaries
object-oriented to the max
builtin object methods
all items are objects
all objects may be dynamically altered
object properties may be added anytime
modules
big library of modules
and many more
phone 510 978 4454
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor