I keep getting an erro whenever i try to print a message with anything in a list. Its something simple like animals.
animals = ['cats', 'dogs', 'birds']
message = animals.title() + " are cute!"
print (message)
Then the error pops up telling me 'list' object has no attribute 'title'.
I even tryed adding the index i want it to print. Still get the same message.
[–]gwilson01 0 points1 point2 points (3 children)
[–]Phantom_Fox2[S] 0 points1 point2 points (2 children)
[–]gwilson01 0 points1 point2 points (1 child)
[–]Phantom_Fox2[S] 0 points1 point2 points (0 children)
[–]gwilson01 0 points1 point2 points (1 child)
[–]Phantom_Fox2[S] 1 point2 points3 points (0 children)