会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
vvLin
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
2020年4月13日
python图片处理
摘要: 1 from PIL import Image 2 from PIL import ImageEnhance 3 im=Image.open("little baby.jpg") 4 om=ImageEnhance.Sharpness(im).enhance(1.1) 5 am=ImageEnhan
阅读全文
posted @ 2020-04-13 22:45 木彳
阅读(173)
评论(0)
推荐(0)
2020年3月29日
python汉诺塔问题
摘要: 1 count=0 2 def hanoi(n,src,dst,mid): 3 global count 4 if n==1: 5 print("{}:{}->{}".format(1,src,dst)) 6 count+=1 7 else: 8 hanoi(n-1,src,mid,dst) 9 p
阅读全文
posted @ 2020-03-29 22:15 木彳
阅读(273)
评论(0)
推荐(0)
2020年3月20日
python第三次作业
摘要: 1 from random import random 2 from math import sqrt 3 from time import * 4 from tqdm import tqdm 5 DARTS=10000000 6 hits=0.0 7 clock() 8 for i in rang
阅读全文
posted @ 2020-03-20 14:11 木彳
阅读(134)
评论(0)
推荐(0)
2020年3月11日
python作业
摘要: 1 import turtle 2 turtle.setup(800,400,200,200) 3 turtle.pensize(2) 4 turtle.fillcolor("red") 5 turtle.begin_fill() 6 turtle.fd(180) 7 turtle.seth(-14
阅读全文
posted @ 2020-03-11 21:55 木彳
阅读(137)
评论(0)
推荐(0)
python turtle库-读书笔记
摘要: 1 import turtle 2 turtle.setup(800,400,200,200) 3 turtle.pensize(2) 4 turtle.fillcolor("red") 5 turtle.begin_fill() 6 turtle.fd(180) 7 turtle.seth(-14
阅读全文
posted @ 2020-03-11 21:06 木彳
阅读(172)
评论(0)
推荐(0)
python turtle库-读书笔记
摘要: 1 import turtle 2 turtle.setup(800,400,200,200) 3 turtle.penup() 4 turtle.seth(90) 5 turtle.fd(50) 6 turtle.seth(0) 7 turtle.pendown() 8 turtle.pensiz
阅读全文
posted @ 2020-03-11 20:59 木彳
阅读(343)
评论(0)
推荐(0)
上一页
1
2
公告