In this post we are going to see Help command and Data Types in Python.
Use help along with command which you want need to know more that command.
Here is the example:
Below command will shows the help about print command.
[[email protected] ~]# python Python 2.7.5 (default, Aug 2 2016, 04:20:16) [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> help ('print')
Data types:
- Numbers
- Strings
- Lists
- Tuple
- Dictionary
Numbers:
Three types of numbers data type available in Python.
Integers: 10
Floating point: 2.1, 3.45
Complex numbers: (4+1J), (3.6 – 5.4a).