Skip to content

Commit 01d898c

Browse files
list numbers / squared
1 parent 1ab5715 commit 01d898c

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

‎numbers_list_sq.py‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
numbers = [7, 9, 12, 54, 99]
2+
3+
print "This list contains: "
4+
5+
for num in numbers:
6+
print num
7+
8+
for x in numbers:
9+
x = x ** 2
10+
print x
11+

0 commit comments

Comments
 (0)