Python基础:Python入门

来源:互联网 发布:数据报告模板 编辑:程序博客网 时间:2024/05/16 23:17

第一讲:

python安装

shell和idle使用

Python基础

  1. print
  2. for
  3. range/xrange
  4. if/else:

字符串 (单引号,双引号,和三引号)

  1. 字符串的连接+
  2. 字符串重复 *

练习:

– AOJ1044

print 'W' 

– AOJ1032

print '''cock=0,hen=25,chicken=75cock=4,hen=18,chicken=78cock=8,hen=11,chicken=81cock=12,hen=4,chicken=84'''

赵老师《面向AOJ的python编程直播》

  1. [鱼链接]https://www.douyu.com/2197341?_r=0.1352293670643121
  2. 直播及辅导群【安科ACM官方群】391668336 安科ACM官方群

  3. GIT 代码网址:https://git.ahstu.cc/zj/zjPy
    感谢支持

原创粉丝点击