You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I ran into an error when ran the code:
words = ['(', 'There', 'is', 'no', 'doubt', ')'] and I got the error as follow: IndexError: list index out of range
What is mystrious is that when I deleted the brackets '(' and ')', it worked.
Could you tell me how can I rewrite the code to make it work even with brackets?
The text was updated successfully, but these errors were encountered:
Hi, I ran into an error when ran the code:
words = ['(', 'There', 'is', 'no', 'doubt', ')'] and I got the error as follow:
IndexError: list index out of range
What is mystrious is that when I deleted the brackets '(' and ')', it worked.
Could you tell me how can I rewrite the code to make it work even with brackets?
The text was updated successfully, but these errors were encountered: