Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

Administrator / lesson11_5

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit eed02ca4 authored 3 years ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

auto save

parent d541d96e
Hide whitespace changes
Inline Side-by-side
Showing with 753 additions and 0 deletions
  • diy1.py
diy1.py 0 → 100644
View file @ eed02ca4
try#执行代码
except#发生异常时执行代码
else#没有异常时执行代码
str.replace()#字符串的替换
"""
float #浮点数
int#整数
"""
SyntaxError#语法错误
NameError#命名错误
"""
keys()#对建便利
values()#对值便利
items()#键值对
"""
list_hero=[]#列表
dict_hero={}#字典
"""
pop()#删除指定元素
romove()#删除特定元素
insent()#插入元素
append()#插在最后
axtend()#插入多个元素
random.choice()#随机从列表中获取一个元素
random.random()#随机从0~1之间的浮点数
random.randing()#随机生成一个指定范围内的整数
"""
break#跳出
>=#大于等于
<=#小于等于
!=#不等于
continue#跳过循环
exit#退出
"""
font=()
"""
if#如果
elif#否则如果
else#否则
"""
print()#输出;打印
type#查看类型
turtle#海龟模块
import.turtle#调用海龟模块
pen.turtle#使用画笔
turtle.done#保存画布
hide.turtle#隐藏画布
try#执行代码
except#发生异常时执行代码
else#没有异常时执行代码
str.replace()#字符串的替换
"""
float #浮点数
int#整数
"""
SyntaxError#语法错误
NameError#命名错误
"""
keys()#对建便利
values()#对值便利
items()#键值对
"""
list_hero=[]#列表
dict_hero={}#字典
"""
pop()#删除指定元素
romove()#删除特定元素
insent()#插入元素
append()#插在最后
axtend()#插入多个元素
random.choice()#随机从列表中获取一个元素
random.random()#随机从0~1之间的浮点数
random.randing()#随机生成一个指定范围内的整数
"""
break#跳出
>=#大于等于
<=#小于等于
!=#不等于
continue#跳过循环
exit#退出
"""
font=()
"""
if#如果
elif#否则如果
else#否则
"""
print()#输出;打印
type#查看类型
turtle#海龟模块
import.turtle#调用海龟模块
pen.turtle#使用画笔
turtle.done#保存画布
hide.turtle#隐藏画布
try#执行代码
except#发生异常时执行代码
else#没有异常时执行代码
str.replace()#字符串的替换
"""
float #浮点数
int#整数
"""
SyntaxError#语法错误
NameError#命名错误
"""
keys()#对建便利
values()#对值便利
items()#键值对
"""
list_hero=[]#列表
dict_hero={}#字典
"""
pop()#删除指定元素
romove()#删除特定元素
insent()#插入元素
append()#插在最后
axtend()#插入多个元素
random.choice()#随机从列表中获取一个元素
random.random()#随机从0~1之间的浮点数
random.randing()#随机生成一个指定范围内的整数
"""
break#跳出
>=#大于等于
<=#小于等于
!=#不等于
continue#跳过循环
exit#退出
"""
font=()
"""
if#如果
elif#否则如果
else#否则
"""
print()#输出;打印
type#查看类型
turtle#海龟模块
import.turtle#调用海龟模块
pen.turtle#使用画笔
turtle.done#保存画布
hide.turtle#隐藏画布
try#执行代码
except#发生异常时执行代码
else#没有异常时执行代码
str.replace()#字符串的替换
"""
float #浮点数
int#整数
"""
SyntaxError#语法错误
NameError#命名错误
"""
keys()#对建便利
values()#对值便利
items()#键值对
"""
list_hero=[]#列表
dict_hero={}#字典
"""
pop()#删除指定元素
romove()#删除特定元素
insent()#插入元素
append()#插在最后
axtend()#插入多个元素
random.choice()#随机从列表中获取一个元素
random.random()#随机从0~1之间的浮点数
random.randing()#随机生成一个指定范围内的整数
"""
break#跳出
>=#大于等于
<=#小于等于
!=#不等于
continue#跳过循环
exit#退出
"""
font=()
"""
if#如果
elif#否则如果
else#否则
"""
print()#输出;打印
type#查看类型
turtle#海龟模块
import.turtle#调用海龟模块
pen.turtle#使用画笔
turtle.done#保存画布
hide.turtle#隐藏画布
try#执行代码
except#发生异常时执行代码
else#没有异常时执行代码
str.replace()#字符串的替换
"""
float #浮点数
int#整数
"""
SyntaxError#语法错误
NameError#命名错误
"""
keys()#对建便利
values()#对值便利
items()#键值对
"""
list_hero=[]#列表
dict_hero={}#字典
"""
pop()#删除指定元素
romove()#删除特定元素
insent()#插入元素
append()#插在最后
axtend()#插入多个元素
random.choice()#随机从列表中获取一个元素
random.random()#随机从0~1之间的浮点数
random.randing()#随机生成一个指定范围内的整数
"""
break#跳出
>=#大于等于
<=#小于等于
!=#不等于
continue#跳过循环
exit#退出
"""
font=()
"""
if#如果
elif#否则如果
else#否则
"""
print()#输出;打印
type#查看类型
turtle#海龟模块
import.turtle#调用海龟模块
pen.turtle#使用画笔
turtle.done#保存画布
hide.turtle#隐藏画布
try#执行代码
except#发生异常时执行代码
else#没有异常时执行代码
str.replace()#字符串的替换
"""
float #浮点数
int#整数
"""
SyntaxError#语法错误
NameError#命名错误
"""
keys()#对建便利
values()#对值便利
items()#键值对
"""
list_hero=[]#列表
dict_hero={}#字典
"""
pop()#删除指定元素
romove()#删除特定元素
insent()#插入元素
append()#插在最后
axtend()#插入多个元素
random.choice()#随机从列表中获取一个元素
random.random()#随机从0~1之间的浮点数
random.randing()#随机生成一个指定范围内的整数
"""
break#跳出
>=#大于等于
<=#小于等于
!=#不等于
continue#跳过循环
exit#退出
"""
font=()
"""
if#如果
elif#否则如果
else#否则
"""
print()#输出;打印
type#查看类型
turtle#海龟模块
import.turtle#调用海龟模块
pen.turtle#使用画笔
turtle.done#保存画布
hide.turtle#隐藏画布
try#执行代码
except#发生异常时执行代码
else#没有异常时执行代码
str.replace()#字符串的替换
"""
float #浮点数
int#整数
"""
SyntaxError#语法错误
NameError#命名错误
"""
keys()#对建便利
values()#对值便利
items()#键值对
"""
list_hero=[]#列表
dict_hero={}#字典
"""
pop()#删除指定元素
romove()#删除特定元素
insent()#插入元素
append()#插在最后
axtend()#插入多个元素
random.choice()#随机从列表中获取一个元素
random.random()#随机从0~1之间的浮点数
random.randing()#随机生成一个指定范围内的整数
"""
break#跳出
>=#大于等于
<=#小于等于
!=#不等于
continue#跳过循环
exit#退出
"""
font=()
"""
if#如果
elif#否则如果
else#否则
"""
print()#输出;打印
type#查看类型
turtle#海龟模块
import.turtle#调用海龟模块
pen.turtle#使用画笔
turtle.done#保存画布
hide.turtle#隐藏画布
try#执行代码
except#发生异常时执行代码
else#没有异常时执行代码
str.replace()#字符串的替换
"""
float #浮点数
int#整数
"""
SyntaxError#语法错误
NameError#命名错误
"""
keys()#对建便利
values()#对值便利
items()#键值对
"""
list_hero=[]#列表
dict_hero={}#字典
"""
pop()#删除指定元素
romove()#删除特定元素
insent()#插入元素
append()#插在最后
axtend()#插入多个元素
random.choice()#随机从列表中获取一个元素
random.random()#随机从0~1之间的浮点数
random.randing()#随机生成一个指定范围内的整数
"""
break#跳出
>=#大于等于
<=#小于等于
!=#不等于
continue#跳过循环
exit#退出
"""
font=()
"""
if#如果
elif#否则如果
else#否则
"""
print()#输出;打印
type#查看类型
turtle#海龟模块
import.turtle#调用海龟模块
pen.turtle#使用画笔
turtle.done#保存画布
hide.turtle#隐藏画布
try#执行代码
except#发生异常时执行代码
else#没有异常时执行代码
str.replace()#字符串的替换
"""
float #浮点数
int#整数
"""
SyntaxError#语法错误
NameError#命名错误
"""
keys()#对建便利
values()#对值便利
items()#键值对
"""
list_hero=[]#列表
dict_hero={}#字典
"""
pop()#删除指定元素
romove()#删除特定元素
insent()#插入元素
append()#插在最后
axtend()#插入多个元素
random.choice()#随机从列表中获取一个元素
random.random()#随机从0~1之间的浮点数
random.randing()#随机生成一个指定范围内的整数
"""
break#跳出
>=#大于等于
<=#小于等于
!=#不等于
continue#跳过循环
exit#退出
"""
font=()
"""
if#如果
elif#否则如果
else#否则
"""
print()#输出;打印
type#查看类型
turtle#海龟模块
import.turtle#调用海龟模块
pen.turtle#使用画笔
turtle.done#保存画布
hide.turtle#隐藏画布
try#执行代码
except#发生异常时执行代码
else#没有异常时执行代码
str.replace()#字符串的替换
"""
float #浮点数
int#整数
"""
SyntaxError#语法错误
NameError#命名错误
"""
keys()#对建便利
values()#对值便利
items()#键值对
"""
list_hero=[]#列表
dict_hero={}#字典
"""
pop()#删除指定元素
romove()#删除特定元素
insent()#插入元素
append()#插在最后
axtend()#插入多个元素
random.choice()#随机从列表中获取一个元素
random.random()#随机从0~1之间的浮点数
random.randing()#随机生成一个指定范围内的整数
"""
break#跳出
>=#大于等于
<=#小于等于
!=#不等于
continue#跳过循环
exit#退出
"""
font=()
"""
if#如果
elif#否则如果
else#否则
"""
print()#输出;打印
type#查看类型
turtle#海龟模块
import.turtle#调用海龟模块
pen.turtle#使用画笔
turtle.done#保存画布
hide.turtle#隐藏画布
try#执行代码
except#发生异常时执行代码
else#没有异常时执行代码
str.replace()#字符串的替换
"""
float #浮点数
int#整数
"""
SyntaxError#语法错误
NameError#命名错误
"""
keys()#对建便利
values()#对值便利
items()#键值对
"""
list_hero=[]#列表
dict_hero={}#字典
"""
pop()#删除指定元素
romove()#删除特定元素
insent()#插入元素
append()#插在最后
axtend()#插入多个元素
random.choice()#随机从列表中获取一个元素
random.random()#随机从0~1之间的浮点数
random.randing()#随机生成一个指定范围内的整数
"""
break#跳出
>=#大于等于
<=#小于等于
!=#不等于
continue#跳过循环
exit#退出
"""
font=()
"""
if#如果
elif#否则如果
else#否则
"""
print()#输出;打印
type#查看类型
turtle#海龟模块
import.turtle#调用海龟模块
pen.turtle#使用画笔
turtle.done#保存画布
hide.turtle#隐藏画布
try#执行代码
except#发生异常时执行代码
else#没有异常时执行代码
str.replace()#字符串的替换
"""
float #浮点数
int#整数
"""
SyntaxError#语法错误
NameError#命名错误
"""
keys()#对建便利
values()#对值便利
items()#键值对
"""
list_hero=[]#列表
dict_hero={}#字典
"""
pop()#删除指定元素
romove()#删除特定元素
insent()#插入元素
append()#插在最后
axtend()#插入多个元素
random.choice()#随机从列表中获取一个元素
random.random()#随机从0~1之间的浮点数
random.randing()#随机生成一个指定范围内的整数
"""
break#跳出
>=#大于等于
<=#小于等于
!=#不等于
continue#跳过循环
exit#退出
"""
font=()
"""
if#如果
elif#否则如果
else#否则
"""
print()#输出;打印
type#查看类型
turtle#海龟模块
import.turtle#调用海龟模块
pen.turtle#使用画笔
turtle.done#保存画布
hide.turtle#隐藏画布
try#执行代码
except#发生异常时执行代码
else#没有异常时执行代码
str.replace()#字符串的替换
"""
float #浮点数
int#整数
"""
SyntaxError#语法错误
NameError#命名错误
"""
keys()#对建便利
values()#对值便利
items()#键值对
"""
list_hero=[]#列表
dict_hero={}#字典
"""
pop()#删除指定元素
romove()#删除特定元素
insent()#插入元素
append()#插在最后
axtend()#插入多个元素
random.choice()#随机从列表中获取一个元素
random.random()#随机从0~1之间的浮点数
random.randing()#随机生成一个指定范围内的整数
"""
break#跳出
>=#大于等于
<=#小于等于
!=#不等于
continue#跳过循环
exit#退出
"""
font=()
"""
if#如果
elif#否则如果
else#否则
"""
print()#输出;打印
type#查看类型
turtle#海龟模块
import.turtle#调用海龟模块
pen.turtle#使用画笔
turtle.done#保存画布
hide.turtle#隐藏画布
try#执行代码
except#发生异常时执行代码
else#没有异常时执行代码
str.replace()#字符串的替换
"""
float #浮点数
int#整数
"""
SyntaxError#语法错误
NameError#命名错误
"""
keys()#对建便利
values()#对值便利
items()#键值对
"""
list_hero=[]#列表
dict_hero={}#字典
"""
pop()#删除指定元素
romove()#删除特定元素
insent()#插入元素
append()#插在最后
axtend()#插入多个元素
random.choice()#随机从列表中获取一个元素
random.random()#随机从0~1之间的浮点数
random.randing()#随机生成一个指定范围内的整数
"""
break#跳出
>=#大于等于
<=#小于等于
!=#不等于
continue#跳过循环
exit#退出
"""
font=()
"""
if#如果
elif#否则如果
else#否则
"""
print()#输出;打印
type#查看类型
turtle#海龟模块
import.turtle#调用海龟模块
pen.turtle#使用画笔
turtle.done#保存画布
hide.turtle#隐藏画布
try#执行代码
except#发生异常时执行代码
else#没有异常时执行代码
str.replace()#字符串的替换
"""
float #浮点数
int#整数
"""
SyntaxError#语法错误
NameError#命名错误
"""
keys()#对建便利
values()#对值便利
items()#键值对
"""
list_hero=[]#列表
dict_hero={}#字典
"""
pop()#删除指定元素
romove()#删除特定元素
insent()#插入元素
append()#插在最后
axtend()#插入多个元素
random.choice()#随机从列表中获取一个元素
random.random()#随机从0~1之间的浮点数
random.randing()#随机生成一个指定范围内的整数
"""
break#跳出
>=#大于等于
<=#小于等于
!=#不等于
continue#跳过循环
exit#退出
"""
font=()
"""
if#如果
elif#否则如果
else#否则
"""
print()#输出;打印
type#查看类型
turtle#海龟模块
import.turtle#调用海龟模块
pen.turtle#使用画笔
turtle.done#保存画布
hide.turtle#隐藏画布
try#执行代码
except#发生异常时执行代码
else#没有异常时执行代码
str.replace()#字符串的替换
"""
float #浮点数
int#整数
"""
SyntaxError#语法错误
NameError#命名错误
"""
keys()#对建便利
values()#对值便利
items()#键值对
"""
list_hero=[]#列表
dict_hero={}#字典
"""
pop()#删除指定元素
romove()#删除特定元素
insent()#插入元素
append()#插在最后
axtend()#插入多个元素
random.choice()#随机从列表中获取一个元素
random.random()#随机从0~1之间的浮点数
random.randing()#随机生成一个指定范围内的整数
"""
break#跳出
>=#大于等于
<=#小于等于
!=#不等于
continue#跳过循环
exit#退出
"""
font=()
"""
if#如果
elif#否则如果
else#否则
"""
print()#输出;打印
type#查看类型
turtle#海龟模块
import.turtle#调用海龟模块
pen.turtle#使用画笔
turtle.done#保存画布
hide.turtle#隐藏画布
\ No newline at end of file
This diff is collapsed. Click to expand it.
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment