I am trying to lean python from the python crash course but this one task has stumped me and I can’t find an answer to it anywhere
The task is Think of your favorite mode of transportation and make a list that stores several examples Use your list to print a series of statements about these items
cars = ['rav4'], ['td5'], ['yaris'], ['land rover tdi']
print("I like the "+cars[0]+" ...")
I’m assuming that this is because I have letters and numbers together, but I don’t know how to produce a result without an error and help would be gratefully received The error I get is
TypeError: can only concatenate str (not "list") to str**
cars = ['rav4', 'td5', 'yaris', 'land rover tdi']- Ali AzG