12/18 Created my own code apart from the needed one. Personal experiment


def another_list(x):
__for i in range(1,len(x)):
___return x

print another_list(x)

def yet_another_list(x):
__for x in range(1,len(x)):
___return m

print yet_another_list(x)

Apart from the code that we need to create, i tried to test out by writing other types of code. Unfortunately, the answers that came out was out of proportion so i need some assistance in finding out where i went wrong.

the answer that came out was
[3, 5, 7, 9]
[350, 400, 500, 600]

can anyone explain this? thank you


I explained this in your other post here click to visit


Thanks dude. Sorry about the repeat. Cant find the delete button.