Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (15 sloc) 0.323 kB
#int test
def reverse_test(xs):
for i in xs:
print i
if len(xs) == 0:
print "my_reverse: null"
else:
print "my_reverse: not null"
xs.reverse()
return xs
#string test
def append_test(xs):
sentence = "this is a melon"
words = sentence.split()
return (words + xs)
Jump to Line
Something went wrong with that request. Please try again.