题解 | 查字典

查字典

https://www.nowcoder.com/practice/ee9c1157f07440f68c86e54a2613a927

import sys


dict1 = {'a':['apple','abandon','ant'],'b':['banana','bee','become'],'c':['cat','come'],
'd':'down'}

input_thing = input()

for i in dict1[input_thing]:
    print(i,end=' ')






全部评论

相关推荐

_mos_:要不是看评论区我都不知道你要找的是数分
点赞 评论 收藏
分享
在写周报的打工人很独...:这个笔试昨天晚上做了一下,真难啊,前后端,ai全有
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务