This commit is contained in:
parent
179034104d
commit
14ac0e4715
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
b=['there', 'name', 'China', 'from', 'go','he', 'Mars', ]
|
||||
file=open('/tmp/a.txt')
|
||||
for line in file.readlines():
|
||||
a=line.split()
|
||||
|
||||
a.sort()
|
||||
b.sort()
|
||||
if a==b:
|
||||
print("答案正确")
|
||||
|
||||
else:
|
||||
print("评测不通过")
|
Loading…
Reference in New Issue