Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Feb 25th, 2020
172
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.09 KB
| None
|
0
0
raw
download
clone
embed
print
report
a = [1, 3, 5, 6, 10]
b = []
for i in range(1,4):
b.append(a[i-1]+a[i+1])
print(b)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Moneymaking Guide
JavaScript | 1 hour ago | 0.38 KB
+5k in one day
C++ | 1 hour ago | 0.41 KB
+5k in one day
JavaScript | 1 hour ago | 0.38 KB
Guides
C++ | 1 hour ago | 0.41 KB
+5k in one day
CSS | 1 hour ago | 0.38 KB
Untitled
C++ | 1 hour ago | 0.41 KB
+7k$ in one day
JavaScript | 1 hour ago | 0.38 KB
+5k in one day
C++ | 1 hour ago | 0.41 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!