14 lines
252 B
Python
14 lines
252 B
Python
#!/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("评测不通过") |