We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a47b8bf commit 171ff8dCopy full SHA for 171ff8d
1 file changed
newcodes/answers/q46.py
@@ -0,0 +1,11 @@
1
+#!/usr/bin/env python
2
+#coding:utf-8
3
+
4
+def ahead_one():
5
+ a = [i for i in range(1,11)]
6
+ b = a.pop(0)
7
+ a.append(b)
8
+ return a
9
10
+if __name__ =="__main__":
11
+ print(ahead_one())
0 commit comments