猫史档案馆


【Python作品分享】世记World Records(KY2.0)

用户:木兮MUIT木兮MUIT查看:0 回复:0 评论:0 创建时间:2021-10-30T12:29:29


【作品展示】

center_image

 

【作品介绍】

整体优化,删除无用程序

仍需配套语言包

 

【作品源代码】

from bag.wrlp import *
import time
a = []
ce()
t = time.ctime()
print(t)
if ('Tue' in t):
    maintenance
    while True:
        input('No Internet:')
else:
    version()
    a = []
    while True:
        guo_jia = input('Choose language/选择语言:')
        if guo_jia in 'Chinese' '中文' 'chinese':
            while True:
                shu_ru = input('输入“阅读”即可阅读《使用注意事项》:')
                if shu_ru in '阅读' '阅读使用注意事项':
                    read1()
                    shu_ru2 = input('我已认真阅读注意事项,同意《免责说明》:(同意/取消)')
                    if shu_ru2 in '同意':
                        while True:
                            shu_ru1 = input('记录/删除/查看:')
                            if shu_ru1 in '记录':
                                while True:
                                    b = input('记录内容:')
                                    if b in '更改''退出':
                                        break
                                    else:
                                        def lb(x):
                                            print('Test', x)
                                        lb(b)
                                        a.insert(0, [b])
                                        print('记录:', a, sep='')
                            elif shu_ru1 in '删除':
                                while True:
                                    b = input('删除内容:')
                                    if b in '更改''退出':
                                        break
                                    elif [b] in a:
                                        a.remove([b])
                                        print('记录:', a, sep='')
                                    else:
                                        print('无法删除!该内容不在记录事项中!')
                            elif shu_ru1 in '查看':
                                print('记录:', a, sep='')
                            elif shu_ru1 in 'stop' '退出' '返回':
                                print('-返回-')
                                break
                            elif shu_ru1 in '更改':
                                print('请先选择模式!')
                            else:
                                print('信息错误')
                    else:
                        print('你必须阅读它!')
                        break
                elif shu_ru in '退出':
                    print('End of Program Run')
                    break
                else:
                    print('请先阅读使用注意事项!')
        elif guo_jia in 'English' '英语' '英文' 'english':
            while True:
                shu_ru = input(
                    'Enter "read" to read #precautions for use#:')
                if shu_ru in 'read':
                    read2()
                    shu_ru2 = input(
                        'I have read the notes carefully and agree to the Disclaimer Notes: (agree/cancel)')
                    if shu_ru2 in 'agree':
                        while True:
                            shu_ru1 = input('record/delet/see: ')
                            if shu_ru1 in 'record':
                                while True:
                                    b = input('Record Content:')
                                    if b in 'change''exit':
                                        break
                                    else:
                                        a.insert(0, [b])
                                        print('record:', a, sep='')
                            elif shu_ru1 in 'delet':
                                while True:
                                    b = input('Delet Content:')
                                    if b in 'change''exit':
                                        break
                                    elif [b] in a:
                                        a.remove([b])
                                        print('record:', a, sep='')
                                    else:
                                        print("Can't delete!This is not on the record!")
                            elif shu_ru1 in 'see':
                                print('record:', a, sep='')
                            elif shu_ru1 in 'stop' 'exit':
                                print('Exited!')
                                break
                            elif shu_ru1 in 'change':
                                print(
                                    'Please select the mode first!')
                            else:
                                print('Error message')
                    else:
                        print('You must read it!')
                        break
                elif shu_ru in 'exit':
                    break
                else:
                    print('Please read the usage precautions first!')
        elif guo_jia in "exit"'退出':
            print('End of Program Run')
            break
        else:
            print('This language is not supported at the moment')

 

【提示】

部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:

https://python.codemao.cn


回复

上一页1 页 / 共 0下一页