Python cant convert ‘list’ object to str error [closed]
As it currently stands, you are trying to concatenate a string with a list in your final print statement, which will throw TypeError. Instead, alter your last print statement to one of the following: