GoConqr has a new look! Let us know what you think.

Mind map

python

Janani Kannan English

Map content

python

  1. features

    • object oriented
    • case sensitive
    • dynamic sematics
    • python 2.7
  2. invention

    • Guido van Rossum on December 1989
  3. I/O

    • print()
    • raw_input()
  4. Datatypes

    • Numbers
      • integers
        • octal(0)
        • hexadecimal(0x)
      • floating point
        • decimals 10 values
          • depends on version
      • complex numbers
        • x=iy
      • misc
        • if()-checks object of particular class
        • type()-check class variable
        • del statement-reference to a variable
    • String
      • starts numbering at 0 single quotes ('') double quotes("")
    • List
      • ordered sequence of elements with different datatype
      • list1=[1,a,hi,2.5,.. ]
      • element size can be updated
    • Set
      • unordered collection of elements different types and elements cannot be changed
      • set={1,3}
      • predefined functions
        • add()-adds item to set
        • update()-updates items to set
        • remove()-removes item from set
    • Tuple
      • ordered sequence of elements with different data type
      • list=(1,a,hi,2.3..)
      • element size cannot be changed
    • Dictionary
      • dic={'name':'janu','age':'30'}
  5. functions

    • def function_name():
    • function arguements
      • def fn_name(arg1,rg2):
      • def fn_na(key=value):
      • def fn_na(arg1,arg=2):
      • def fn_na(*args):
    • from..import
      • >>from example import add
        • invokes add function from example prgm

Information

Description
Mind Map on python, created by Janani Kannan on 31/05/2017.
Created by
Janani Kannan
Views
2
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?