Saturday, 23 April 2011

Python Challenge #000: 0

Welcome to my introduction to Python 3 programming via the Python Challenge. The first thing to do is to install it either from a recent release or, on Debian-derived platforms such as Linux Mint, enter the following in a terminal (with superuser privileges):
apt-get install python3
To confirm installation:
python3 --version
0.html: warming up
The Python 3 interpreter can be invoked as follows:
python3
The image shows a number raised to a power. This is expressed in Python as follows:
>>> 2**38
274877906944

No comments:

Post a Comment