Commit d192fc93 by BellCodeEditor

save project

parent 2dd4b6e8
Showing with 30 additions and 10 deletions
goods={'1':3,'2':4,'3':5}
goods.pop('3')
print(goods)
\ No newline at end of file
while True:
s1 = {'1':50,'2':50,'3':50,}
s2 = {'1':100,'2':100,'3':100,}
s3 = {'1':0,'2':0,'3':0,}
import tkinter.messagebox
import os
import shutil
root = tkinter.Tk()
root.withdraw()
score={'wk':s1,'ny':s2,'xb':s1}
name = input('名字:(退出请输入quit))')
if name=='quit':
tkinter.messagebox.("退出查询系统",'您确定要退出吗?')
break
if name in score:
info = score[name]
for k,v in info.items():
print(k,v)
else:
tkinter.messagebox.showwarning()('Windows错误','该项目不存在')
\ No newline at end of file
# 直接运行以下代码,说说你的发现:
list_hero=['赵一',30,'丁二',37,'孙五',52,'王猛',89,'周亮',98]
dict_hero = {'赵一':30,'丁二':37,'孙五':52,'王猛':89,'周亮':98}
print(len(list_hero))
print(len(dict_hero))
\ No newline at end of file
import webbrowser
import time
hhh=800
for i in range(1):
webbrowser.open('https://www.bellcode.com/#/cm/stu_lesson_map/?package_id=219&lesson_id='+'hhh'+'&class_id=202812&token=73e32610-ad72-11ec-ab76-b2f1909911d5-6901')
hhh+=1
time.sleep(1)
\ No newline at end of file
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