题解
2025-05-20 16:00:22
发布于:浙江
2阅读
0回复
0点赞
l=eval(input())
x=int(input())
hash=dict(enumerate(l))
if x not in l:
print(-1)
else:
for i in hash:
if hash[i]==x:
print(i,end=" ")
这里空空如也
2025-05-20 16:00:22
发布于:浙江
l=eval(input())
x=int(input())
hash=dict(enumerate(l))
if x not in l:
print(-1)
else:
for i in hash:
if hash[i]==x:
print(i,end=" ")
这里空空如也
提交答案之后,这里将显示提交结果~
有帮助,赞一个