how to divide two lists. 04-03-2013, 09:11 AM
#1
this is probably a very simple explanation but i can't seem to get it to work.
i need to make a new list that = first_list/second_list
I've got this so far.
TypeError: unsupported operand type(s) for /: 'list' and 'list'
When i run it i get this error, any idea where i'm going wrong?
i need to make a new list that = first_list/second_list
I've got this so far.
Code:
firstlist = [10,20,30,40,50,60]
secondlist = [3,5,6,8,3,5]
newlist = []
newlist.append(firstlist/secondlist)When i run it i get this error, any idea where i'm going wrong?
there are 10 types of people in this world,
those who understand binary and those who don't.
skype name: J4W3S.23
those who understand binary and those who don't.
skype name: J4W3S.23


![[+]](https://sinister.li/images/modern/collapse_collapsed.png)


![[Image: 2YpkRjy.png]](http://i.imgur.com/2YpkRjy.png)