huluwajiubaba_
码龄2年
关注
提问 私信
  • 博客:12,216
    动态:2,662
    14,878
    总访问量
  • 12
    原创
  • 2,090,991
    排名
  • 5
    粉丝
  • 0
    铁粉

个人简介:心有爱,眼有光,但前无路 一个python路上的奋勇者

IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:安徽省
  • 加入CSDN时间: 2022-11-01
博客简介:

huluwajiubaba_的博客

查看详细资料
个人成就
  • 获得7次点赞
  • 内容获得2次评论
  • 获得43次收藏
  • 代码片获得269次分享
创作历程
  • 1篇
    2023年
  • 11篇
    2022年
成就勋章
TA的专栏
  • 谨以世间的美好
    3篇
兴趣领域 设置
  • Python
    python
  • 人工智能
    人工智能
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

中文及英文词云的制作

中文以及英文词云的制作
原创
发布博客 2023.03.23 ·
294 阅读 ·
0 点赞 ·
1 评论 ·
0 收藏

python : tkinter -- 网格窗口的制作

python : tkinter -- 网格窗口的制作
原创
发布博客 2022.12.14 ·
565 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

python : 嵌套循环的初阶应用

python : 嵌套循环的初阶应用(乒乓球队的比赛名单)
原创
发布博客 2022.12.12 ·
203 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

python:天天向上与三天打鱼两天晒网

​滴水能把石穿透,万事功到自然成。不积跬步,无以至千里;不积小流,无以成江海。​
原创
发布博客 2022.12.10 ·
2547 阅读 ·
0 点赞 ·
0 评论 ·
13 收藏

python:turtle.circle的用法

python : 一个毫无用处的彩色虫
原创
发布博客 2022.12.10 ·
568 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

python:满天星

python:满天星的制作与解释
原创
发布博客 2022.12.10 ·
1331 阅读 ·
1 点赞 ·
0 评论 ·
7 收藏

python:搞笑小错误,turtle.write的用法

python:搞笑小错误(蓝屏),turtle.write的应用
原创
发布博客 2022.12.10 ·
1470 阅读 ·
2 点赞 ·
0 评论 ·
5 收藏

python: 七段数码管

python:七彩数码管,谨于热爱世界的你。
原创
发布博客 2022.12.09 ·
1179 阅读 ·
1 点赞 ·
1 评论 ·
9 收藏

python : 空心五角星

python:空心五角星
原创
发布博客 2022.12.09 ·
2905 阅读 ·
1 点赞 ·
0 评论 ·
6 收藏

python :反向同心圆

python: 反向同心圆,美丽的基础!
原创
发布博客 2022.12.09 ·
526 阅读 ·
1 点赞 ·
0 评论 ·
3 收藏

python: 温度转换器

python : 温度转换器
原创
发布博客 2022.12.09 ·
556 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

python : 学习python第一天

python : 节日贺卡
原创
发布博客 2022.12.09 ·
69 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

一周七天,学三天,玩两天,还能得到什么?希望大家努力学习。一个三天打鱼两天晒网代码送给大家 。 def dayup(df): dayup=1 for i in range(365): #共一年时间 if i %7 in [6,0]: #一周内抽取两天不学习(退步) dayup=dayup*(1-0.01) elif i %5 in [3,0]: # 一周内抽两天(不进步也不退步) dayup=dayup else: #剩下的三天就是学习的时间 dayup=dayup*(1+df) return dayup dayfactor=0.01 print("一年的努力成果是:{:.3f}".format(dayup(dayfactor))) while dayup(dayfactor) < 37.78: print("继续努力") dayfactor+=0.001 print("{:.3f}".format(dayfactor)) print("力量参数: {:.3f}".format(dayfactor))

发布动态 2022.12.02

一个 毫无用处的彩色虫 import turtle #导入turtle模块 from random import choice #导入随即模块choice a=['red','yellow','blue','black','green','pink'] turtle.setup(650,350,200,200) #画布大小 turtle.penup() turtle.fd(-250) turtle.pendown() turtle.pensize(25) turtle.seth(-50) for j in range(4): turtle.pencolor(choice(a)) #随机选取颜色 for i in range(1): turtle.circle(40,80) turtle.circle(-40,80) turtle.circle(40,80/2) turtle.fd(40) turtle.circle(16,120) turtle.fd(40*2/3) turtle.done()

发布动态 2022.12.02

冬天到了 ,送大家一个满天星 import turtle as t #导入turtle模块 from random import choice #导入choice模块 t.speed(10000) #画笔速度 t.width(1) #宽度 t.bgcolor("black") #画布颜色 for n in range(100): # color1 = ["red", "blue", "pink", "purple", "green", "yellow"] # color2 = choice(color1) 可以随机选取颜色想要白色可以把这里删掉 t.color("white") #白色画笔 x=list(range(-800,800)) y=list(range(-400,400)) x1=choice(x) y1=choice(y) t.penup() t.goto(x1,y1) t.begin_fill() for i in range(5): #画一个五角星 t.pendown() t.fd(30) t.left(144) t.end_fill() t.right(90) t.done()

发布动态 2022.12.02

一个有意思的搞笑小错误,而且需要的代码也很少 import turtle as t #导入turtle 模块 from random import choice #导入choice模块 def gaoxiao(): c=input("请输入密码:") if c == "123456": print("正确") else: for n in range(100): t.bgcolor("blue") #画布颜色 t.color("red") #画笔颜色 t.speed(500) #画笔速度 x = list(range(-800, 800)) y = list(range(-400, 400)) x1 = choice(x) #设置随机坐标 y1 = choice(y) t.penup() t.goto(x1,y1) for i in range(1) : t.pendown() m=list(range(10,50)) m1=choice(m) t.write("错误",font=("隶书",m1)) # 设置字体格式 t.hideturtle() t.done() gaoxiao() #调用

发布动态 2022.12.02

今天学了一个七彩数码管,受益良多,代码在下: 可以使用 import turtle as t方法将字节变少

发布动态 2022.12.02

在python里学了一个空心五角星,大家可以自己试一试哦 代码: import turtle as t t.bgcolor("red") t.speed(10) t.width(6) t.pencolor("yellow") t.fillcolor("red") t.begin_fill() t.fd(100) for i in range(4): t.right(144) t.fd(100) t.left(72) t.fd(100) t.right(144) t.fd(100) t.end_fill()

发布动态 2022.11.18

又是学习python的一天,这次学的是变量名和各种关键字,很适合新手入门时接触。大家可以自己动手试一试哦。 11.18 1.#注释 input输入函数 . print输出函数,.format格式函数 变量(变量名称,数据类型),关键字, -缩进、注释、命名、变量、保留字 -数据类型、字符串、整数、浮点数、列表 -赋值语句、分支语句、函数 -input0、print0、eval0、print0格式化 命名规则:大小写字母、数字(首字符不能是数字)、下划线和中文等字符及组合 如:TempStr,Python_Great, 关键字:False class from or None continue global pass True def if raise and del import return as elif in try assert else is while async except lambda with await finally nonlocal yield break for not

发布动态 2022.11.18

一个平平无奇的反向同心圆 代码:#TangenentCircleDraw.py(同切圆) import turtle from random import choice turtle.width(5) turtle.speed(10000) x=range(50,500,20) for i in range(100): for n in x: color=["red","blue","green","pink","purple","yellow"] color2=choice(color) turtle.fillcolor(color2) turtle.begin_fill() turtle.pencolor(color2) turtle.circle(n)#n是半径 turtle.end_fill() turtle.right(90) for n in x: color=["red","blue","green","pink","purple","yellow"] color2=choice(color) turtle.fillcolor(color2) turtle.begin_fill() turtle.pencolor(color2) turtle.circle(-n) turtle.end_fill() 打出来有惊喜哦

发布动态 2022.11.18
加载更多