<｜begin▁of▁sentence｜>### Instruction:
In the context of improving cultivation practices, consider a scenario where you are studying a network of interconnected plant species in a specific garden. Each connection between plants represents a relationship that can be quantified with a specific strength, reflecting the importance of that connection. 

You are interested in using the 'igraph' API to calculate the weighted degree (strength) of each plant in the network, based on the edge list and corresponding edge weights. This information can provide valuable insights into the influence and significance of each plant within the network, guiding your efforts to optimize cultivation and growth practices.
### Response:
import igraph as ig

# Sample edge list with weights
edges = [(0, 1), (1, 2), (2, 3), (3, 0)]
weights = [1.0, 2.0, 3.0, 4.0]

# Create a weighted graph
graph = ig.Graph(edges=edges)
graph.es['weight'] = weights

# Compute the strength (weighted degree) of all vertices
vertex_strengths = graph.strength(weights=graph.es['weight'])

# Output the strengths
print(vertex_strengths)
<|EOT|>
