Divide dos listas en python
Tengo 2 listasa
yb
:
a = [3, 6, 8, 65, 3]
b = [34, 2, 5, 3, 5]
c gets [3/34, 6/2, 8/5, 65/3, 3/5]
¿Es posible obtener su relación en Python, como en variablec
¿encima? Traté de escribir:
a/b
Y me sale un error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for /: 'list' and 'list'