python
Dashboard
My Repos
Compilers
Python Online
Node JS Online
Golang Online
codepy
Login
My Repos
Sign Out
Online Python Interpreter
Stop
Run
l = [1,2,3,4,5,6] i = 0 s = 0 while (i < (len(l)/2)): print(l[i]," + ",l[-(i+1)]) s += l[i] + l[-(i+1)] i += 1 print(s)
Share this code with others
Public
Clear
My Repos
Repo
Lang
Login
Register
Login
Create a free account. No Credit card info required.
I agree with the Codepy
Term of Service
Sign Up