Changed xrange to range

Since xrange no longer works in python3
This commit is contained in:
Kuldeep Singh
2016-01-25 22:28:46 +05:30
parent 2d85613ae5
commit e6fb422d45
+1 -1
View File
@@ -349,7 +349,7 @@ Instead, use a list comprehension:
.. code-block:: python
four_lists = [[] for __ in xrange(4)]
four_lists = [[] for __ in range(4)]
Create a string from a list
~~~~~~~~~~~~~~~~~~~~~~~~~~~