Python入门
Yogurt_Huo
将生活中的每一件小事,专注的延长
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
用python绘图2【小猪佩奇】
用python绘图第二弹【小猪佩奇】 1.图形示例 2.代码演示 import turtle as t t.pensize(4) t.hideturtle() t.colormode(255) t.color((255, 155, 192), "pink") t.setup(840, 500) t.speed(20) # 鼻子 t.pu() t.goto(-100, 100) t.pd() t.seth(-30) t.begin_fill() a = 0.4 for i in range原创 2020-12-28 12:39:00 · 281 阅读 · 0 评论 -
用python绘图1【心形】
用python绘图第一弹【心形】 1.图形示例 2.代码演示 from turtle import * def curvemove(): for i in range(200): right(1) forward(1) setup(600,600,400,400) hideturtle() pencolor('black') fillcolor("red") pensize(2) begin_fill() left(140) forward(111原创 2020-12-28 12:32:28 · 736 阅读 · 0 评论 -
Python入门
一、序章 1.Python特点 Python is powerful and fast; plays well with others; runs everywhere; is friendly and easy to learn; is open. Python语言技术特点:解释型高级通用脚本语言,支持面向过程和面向对象,具有通用性。 关于语言类型的描述:静态语言(c语言)采用编译方式执行,动态语言(python)采用解释方式执行。编译是将源代码转换成目标代码的过程,解释是将源代码逐条转换成目标原创 2020-12-24 10:55:46 · 630 阅读 · 10 评论
分享