diff --git a/step2/b.py b/step2/b.py new file mode 100644 index 0000000..bd22e18 --- /dev/null +++ b/step2/b.py @@ -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("评测不通过") \ No newline at end of file