Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/liuchuo/PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
liuchuo committed Mar 7, 2020
2 parents fb5845d + a2ce13a commit 704b158
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ int main() {
for (int i = 1; i < n; i++)
printf(" %d", level[i]);
return 0;
}
}
9 changes: 6 additions & 3 deletions BasicLevel_Python/1009 说反话 (20 分).py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
l = input().split()

print(' '.join(l[::-1]))
i=input().split()
a=(i[::-1])
b=''
for c in a:
b=b+c+' '
print(b[0:-1])

0 comments on commit 704b158

Please sign in to comment.