[python]代码库
import ybc_box as box
#
while True:
op = box.buttonbox('请选择你想看的枪支',['1.突击步枪','2.射手步枪','3.狙击枪','4.冲锋枪','...'])
if op =='1.突击步枪':
box.msgbox('AKM','AKM.png')
box.msgbox('AUG','AUG.png')
box.msgbox('G36C','G36C.png')
box.msgbox('Groza','Groza.png')
box.msgbox('M16A4',"M16A4.png")
box.msgbox('M416','M416.png')
box.msgbox('M762','M762.png')
box.msgbox('MK47','MK47.png')
box.msgbox('QBZ','QBZ.png')
box.msgbox('SCARL','SCARL.png')
elif op == '2.射手步枪':
box.msgbox('VSS','VSS.png')
box.msgbox('SKS','SKS.png')
box.msgbox('Mk14','Mk14.png')
box.msgbox('Mini14','Mini14.png')
box.msgbox('SLR','SLR.png')
box.msgbox('QBU','QBU.png')
elif op =='3.狙击枪':
box.msgbox('AWM','AWM.png')
box.msgbox('Kar98k','Kar98k.png')
box.msgbox('M24','M24.png')
box.msgbox('win94','win94.png')
elif op =='4.冲锋枪':
box.msgbox('MicroUZI','MicroUZI.png')
box.msgbox('汤姆逊','汤姆逊.png')
box.msgbox('UMP45','UMP45.png')
box.msgbox('Vector','Vector.png')
box.msgbox('野牛冲锋枪','野牛冲锋枪.png')
elif op == '...':
box.msgbox('太多了,不想做了')
break
初级程序员
by: 云代码会员 发表于:2021-07-18 14:30:17 顶(1) | 踩(0) 回复
a
回复评论