码迷,mamicode.com
首页 >  
搜索关键字:tu    ( 372个结果
条件、循环 、函数练习
1.用循环画五角星 import turtleturtle.setup(600,400,0,0)turtle.color("yellow")turtle.bgcolor('red')turtle.fillcolor("yellow")turtle.up()turtle.goto(-250,75)tu ...
分类:其他好文   时间:2017-09-13 15:22:49    阅读次数:186
条件、循环、函数定义 练习
1.画五角星 >>> import turtle>>> turtle.bgcolor('pink')>>> turtle.color('yellow')>>> turtle.fillcolor('yellow')>>> turtle.up()>>> turtle.goto(0,-20) >>> tu ...
分类:其他好文   时间:2017-09-12 15:58:09    阅读次数:135
条件、循环、函数定义 练习
画五角星 import turtlefor i in range(5): turtle.forward(150) turtle.left(144) 画同心圆 import turtlefor i in range(5): turtle.up() turtle.goto(0,-20*(i+1)) tu ...
分类:其他好文   时间:2017-09-12 15:52:05    阅读次数:137
条件、循环、函数定义 练习
1、画五角星 import turtleturtle.bgcolor('red')turtle.color('yellow')turtle.fillcolor('yellow')turtle.begin_fill() for i in range(5): turtle.forward(100) tu ...
分类:其他好文   时间:2017-09-12 15:48:25    阅读次数:146
Python_Tuple
1、创建元组 方式一:tu=(元素1,元素2.....) 方式二:tu=tuple(传入可迭代的元素) 也是元组的转换 2、元组的转换 结果: 3、元组的特有方法 a、count(self,value) count方法只统计指定value本身作为元组元素出现的次数 结果: b、index(self, ...
分类:编程语言   时间:2017-09-11 16:28:26    阅读次数:217
python接口自动化测试(八)-unittest-生成测试报告
用例的管理问题解决了后,接下来要考虑的就是报告我问题了,这里生成测试报告主要用到 HTMLTestRunner.py 这个模块,下面简单介绍一下如何使用: 一、下载HTMLTestRunner下载: 这个模块不能通过pip安装,只能下载安装,下载地址如下: python2.x版本:http://tu ...
分类:编程语言   时间:2017-09-09 00:50:02    阅读次数:197
064turtle作业
1.import turtle turtle.circle(20) turtle.circle(30) turtle.circle(40) 2. import turtle>>> turtle.circle(20)>>> turtle.up()>>> turtle.goto(0,-20)>>> tu ...
分类:其他好文   时间:2017-09-08 11:58:18    阅读次数:100
293 Flip Game
You are playing the following Flip Game with your friend: Given a string that contains only these two characters: + and -, you and your friend take tu... ...
分类:其他好文   时间:2017-08-19 09:23:18    阅读次数:174
CentOS 6.5搭建Smokeping平台(上)
1、添加EPEL和RPMForge第三方源如果是i686平台:rpm-ivhhttp://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm rpm-ivhhttp://ftp.tu-chemnitz.de/pub/linux/dag/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.i686.rpm如果是x86_64..
分类:其他好文   时间:2017-08-08 19:51:11    阅读次数:167
研(tu)究(cao)SFTP(HUSTOJ)……
学校题库加数据,HUSTOJ一点也不人道,数据不能一起加,只能一个一个手动加,20组数据一共40个文件真是累…… 于是SFTP一发,发现在外网下没root权限不能加数据……woc 试了很多方法,最终都指向开一个新账户然后赋予root权限,但是太不安全了所以没敢试(好歹也是学校财产……) 忍了,手动添 ...
分类:其他好文   时间:2017-08-06 00:52:05    阅读次数:171
372条   上一页 1 ... 15 16 17 18 19 ... 38 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!