Beruflich Dokumente
Kultur Dokumente
So lets begin and we are starting with our first topic which is
Variables , First thing you will ask me is what are variables?
I would say variables are really boxes,boxes that contain some
values or say information but before we get into that you need
to know where to write python code because you cant just run
python on your computer.
So for this you can download Python for Windows, OS X, and
Ubuntu for free from http://python.org/downloads/ .Youll
find Python installers for 64-bit and 32-bit computers for each
operating system on the download page, so first figure out
which installer you need. If you bought your computer in 2007
or later, it is most likely a 64-bit system(but be sure).
There are mainly two versions of python availaible Python2.7
and Python 3 (such as 3.4.0) theres a bit difference between
the two but as a beginner it doesnt really matter which
vesrion you download but I will recommend you to install
python 3 as I am using it to explain Python to you all.
>>> 2
2
Errors are Okay!
Variable Names:
In previous examples we used variable names like king and
queen etc .You can name a variable anything as long as it
obeys the following three rules: