Mindmap
python
Inhalt der Mindmap
python
features
- object oriented
- case sensitive
- dynamic sematics
- python 2.7
invention
- Guido van Rossum on December 1989
I/O
- print()
- raw_input()
Datatypes
- Numbers
- integers
- octal(0)
- hexadecimal(0x)
- floating point
- decimals 10 values
- depends on version
- decimals 10 values
- complex numbers
- x=iy
- misc
- if()-checks object of particular class
- type()-check class variable
- del statement-reference to a variable
- integers
- 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'}
- Numbers
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
- >>from example import add
Informationen
- Beschreibung
- Mindmap am python, erstellt von Janani Kannan am 31/05/2017.
- Erstellt von
- Janani Kannan
- Aufrufe
- 2
- Bewertung