GNU Info

Info Node: (python2.1-tut.info)Using Python as a Calculator

(python2.1-tut.info)Using Python as a Calculator


Next: First Steps Towards Programming Prev: An Informal Introduction to Python Up: An Informal Introduction to Python
Enter node , (file) or (file)node

Using Python as a Calculator
============================

Let's try some simple Python commands.  Start the interpreter and wait
for the primary prompt, `>`>'>~'.  (It shouldn't take long.)

Numbers
Strings
Unicode Strings
Lists

automatically generated by info2www version 1.2.2.9