Posts by Rafael Acorsi • 36 points
1 post
-
2
votes1
answer603
viewsA: Error: "can’t Multiply Sequence by non-int of type 'float'"
Comments have responded, but follow the code a little more pythonico: from collections import namedtuple routes = namedtuple('Routes', ['dist_k', 'time_h']) routes = map(routes._make, [ (169.0,…