mirror of
https://github.com/gsi-upm/sitc
synced 2025-01-05 02:41:29 +00:00
Compare commits
9 Commits
0c0960cec7
...
dc23b178d7
Author | SHA1 | Date | |
---|---|---|---|
|
dc23b178d7 | ||
|
5410d6115d | ||
|
6749aa5deb | ||
|
c31e6c1676 | ||
|
1c7496c8ac | ||
|
35b1ae4ec8 | ||
|
58fc6f5e9c | ||
|
91147becee | ||
|
1530995243 |
@ -74,7 +74,6 @@
|
||||
"* [The Python tutorial](https://docs.python.org/3/tutorial/)\n",
|
||||
"* [Object-Oriented Programming in Python](http://python-textbok.readthedocs.org/en/latest/index.html)\n",
|
||||
"* [Python3 tutorial](http://www.python-course.eu/python3_course.php)\n",
|
||||
"* [Python for the Busy Java Developer, Deepak Sarda, 2014](http://antrix.net/static/pages/python-for-java/online/)\n",
|
||||
"* [Style Guide for Python Code (PEP-0008)](https://www.python.org/dev/peps/pep-0008/)\n",
|
||||
"* [Python Slides](http://tdc-www.harvard.edu/Python.pdf)\n",
|
||||
"* [Python for Programmers - 1 day course](http://www.ucs.cam.ac.uk/docs/course-notes/unix-courses/archived/archived-python-courses/PythonProgIntro/files/notes.pdf)\n",
|
||||
|
@ -85,7 +85,7 @@
|
||||
"In Python3, there are the following [numeric types](https://docs.python.org/3/library/stdtypes.html#typesnumeric):\n",
|
||||
"* integers (int): 1, -1, ...\n",
|
||||
"* floating point numbers (float): 0.1, 1E2\n",
|
||||
"* complex numbers (complex): 2 + 3j\n",
|
||||
"* complex numbers (complex): 2 + 3j\n.",
|
||||
"Let's play a bit"
|
||||
]
|
||||
},
|
||||
|
@ -377,7 +377,7 @@
|
||||
"\n",
|
||||
"Tuples are faster than lists. Its main usage is when the collection is constant, or you do not want it can be changed (write protected). \n",
|
||||
"\n",
|
||||
"Tuples can be converted into lists and vice-versa, with the methods list() and tuple()."
|
||||
"Tuples can be converted into lists and vice-versa, with the methods *list()* and *tuple()*."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -37,7 +37,7 @@
|
||||
"\n",
|
||||
"A set object is an unordered collection of distinct objects. There are two built-in set types: **set** (mutable) and **frozenset** (inmutable).\n",
|
||||
"\n",
|
||||
"A mapping object maps hashable values to arbitrary objects. Mappings are mutable objects. There is only one bultin mapping type: **dictionary**."
|
||||
"A mapping object maps hashable values to arbitrary objects. Mappings are mutable objects. There is only one builtin mapping type: **dictionary**."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -41,7 +41,7 @@
|
||||
"The first argument of instance class method is self, that refers to the current instance of the class.\n",
|
||||
"There is a special method, __init__ that initializes the object. It is like a constructor, but the object is already created when __init__ is called.\n",
|
||||
"\n",
|
||||
"Instance attributes are define as self.variables. (self is the same than this in Java)."
|
||||
"Instance attributes are define as *self.variables*. (self is the same than this in Java)."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user