im trying to download python for the course (introduction to computer science and programming) v2.5.4 however when i try to do the strings in the second lecture it does not provide the same outcome, ex: type (none), it gives me
IDLE 1.2.4
>>> type (none)
Traceback (most recent call last):
File "
none if you have seen the lecture, the outcome is different
You did not get the point. Even in 2.5.4 it was None, not none. Here are the docs: https://docs.python.org/release/2.5.4/lib/node8.html
Here it is in 2.7.6: ``` Python 2.7.6 (default, Nov 10 2013, 19:24:24) [MSC v.1500 64 bit (AMD64)] on win32 Type "copyright", "credits" or "license()" for more information. >>> type(none) Traceback (most recent call last): File "<pyshell#0>", line 1, in <module> type(none) NameError: name 'none' is not defined >>> type(None) <type 'NoneType'> >>> ``` But the results should be the same in basically any version.
oh ok , thnx
Join our real-time social learning platform and learn together with your friends!