私信TA
用户名:pyhero
访问量:15696
签 名:
自我简介:
作者: herofly 发表时间:2021-12-04 11:11:23 浏览:91 | 评论:0
解题思路:注意事项:参考代码
e,f = map(int,input().split())
dict={}
list = []
while True:
try:
a,b=map(int,input().split())
dict[a] = b
list.append(a)
except:
break
list.sort()
for i in list:
print(f"{i} {dict[i]}")
0.0分
0 人评分
看不懂代码解释一下代码? 或者生成一段代码?试试AI编程助手吧