用户:
code.XMW查看:0 回复:1 评论:0 创建时间:2021-08-24T11:20:22
【作品展示】

【作品介绍】
wu
【作品源代码】
import time
import turtle
储存列表=[input()]
储存=[input()]
v=1.3
print('欢迎使用mas操作系统')
print('版权为code.XMW所有')
print('版本编号',v)
print("Loading",end = '')
for i in range(6):
print(".",end = '',flush = True,)
time.sleep(0.5)
def node():
load='/'
路径=node()
print('\n')
input('输入?')
#开始进入Python的世界
if (input() == '/print' or input() == '/help'):
真假 = 1
else:
真假 = 2
if (input() == '/print'):
input('打印')
print(input())
if (真假 == 1):
回答 = '/print'
else:
if (input() == '/help'):
print('/print 打印项目,/pass 更改当前路径,/save 保存输出,/saveos 输出保存的输出')
if (真假 == 1):
回答 = '/help'
else:
if (input() == '/pass'):
print('更改路径')
路径=input()
print('更改成功')
if (真假 == 1):
回答 = '/pass'
else:
if (input()=='/save'):
input('是否保存')
if (input()=='是'):
print('保存成功')
储存列表=[input()]
else:
if (input()=='/saveos'):
print(储存列表)
else:
__Pen = turtle.Pen()
t = turtle.Pen()
print(input('你的名字?'))
if (input() == '/forworld'):
__Pen.forward(100)
elif (input() == '/backworld'):
__Pen.backward(100)
elif (input() == '/penright'):
print(input('旋转多少度'))
__Pen.right(100)
elif (input() == '/penwrite'):
__Pen.write('Hello')
if (input() == '/help'):
print('/print 打印项目,/pass 更改当前路径,/save 保存输出,/saveos 输出保存的输出')
if (真假 == 1):
回答 = '/help'
else:
if (input() == '/print'):
input('打印')
print(input())
if (真假 == 1):
回答 = '/print'
else:
if (input() == '/pass'):
print('更改路径')
路径=input()
print('更改成功')
if (真假 == 1):
回答 = '/pass'
if (input() =='/pass'):
input('更改路径')
路径=input()
print('更改成功')
if (真假 == 1):
回答 = '/pass'
else:
if (input() == '/print'):
input('打印')
print(input())
if (真假 == 1):
回答 = '/print'
else:
if (input() == '/help'):
print('/print 打印项目,/pass 更改当前路径,/save 保存输出,/saveos 输出保存的输出')
if (真假 == 1):
回答 = '/help'
if (input()=='/save'):
input('是否保存')
if (input()=='是'):
储存列表=[input()]
if (input()=='/saveos'):
print(储存列表)
__Pen = turtle.Pen()
t = turtle.Pen()
print(input('你的名字?'))
if (input() == '/forworld'):
__Pen.forward(100)
elif (input() == '/backworld'):
__Pen.backward(100)
elif (input() == '/penright'):
print(input('旋转多少度'))
__Pen.right(100)
elif (input() == '/penwrite'):
__Pen.write('Hello')
if (not input == ('/help' or '/print'or'/pass'or'save'or'saveos')):
print('错误')
print('项目类型为',type(储存))
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn