#!/usr/bin/python # coding utf-8 dic={ '123':'一等奖', '345':'二等奖', '678':'三等奖', '789':'四等奖', } msg1=input('请选择彩票号码: ') # # print(msg1) # print(type(msg1)) if msg1 not in dic: print('没有中') else: print(dic[msg1])