Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- '''
- Created on 04/11/2014
- ejercicio 3
- Proven and tested on python 3.3.3
- @author: A01221672
- '''
- n =[1,2,3]
- foo = []
- x = 0
- for i in range(len(n)):
- x = n[i] + x
- foo.append(x)
- print(foo)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement