Archives Feb. 11, 2016

Python basic grammar

python basic grammar

1.Constant and Variable

   1)Constant
    eg.
      import const
      const.value=5
      print const.value
      const.value=6
   2)Variable
     eg.
        a=1

2.Number and string

   1)Single quotation mark
     eg. a='string'
   2)Double quotation marks
     eg. b="string"
   3)Three single quotation marks (output special characters)
     eg. c='''string ...

Continue reading

Previous day

Feb. 4, 2016

Next day

Feb. 13, 2016

Archives