240 发简信
IP属地:福建
  • 2018-10-09 list与str数据类型的区别和转换

    list为一个数组,里面的元素可以是字符串,任意字符,或者是整数等类型的数据 str只能是字符 list元素可以改变,比如增加,删除 str不能...

  • 2018-10-09 list章节

    以下为源码 #!/usr/bin/env python #coding:utf-8 print "\n" print "\n" print u"...

  • 2018-10-09 Python 保留字

    python系统已经定义了的单词 and, assert, break, class, continue, def, del, elif, el...

  • 2018-10-07 python 字符串格式化输出

    例: print "my name is %s,I am %d years old."%("mike",15) 源码: print "my na...

  • 2018-10-07 python input()和raw_input()的区别

    Python2.x版本中raw_input()和Python3.x版本中的input()是一样的,可以接受字符串输入,Python2.x版本中i...

  • 2018-10-07 一个很简单的问题条件语句问题,不懂,求解

    a=input("press any one char ") print len(a) if len(a)<2: print "your pr...

  • 2018-10-07 关于内建函数 ord() 的一些问题解决

    #!/usr/bin/env python # -*- coding: utf-8 -*- a=raw_input("press any one...

  • 2018-10-07 一个轻松查询ascii编码的小脚本

    #!/usr/bin/env python # -*- coding: utf-8 -*- a=raw_input("press any one...

  • Resize,w 360,h 240
    2018-10-06 了解python,从基础学起之内建函数

    python内建函数 build-in function 以下是内建函数列表: python print字符串连接注意事项: 连接的字符串必须对...