list1 =[“good thinks”,’2′,’4′[‘f’]] TypeError: string indices must be integers

  Python

Email

answer

list =[“good thinks”,’2′,’4′,[‘f’]]
print (list[0])
Spread the Code

Leave a Reply

avatar

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
Notify of