Ending Up error


#1

Can any one help me rectifying this error:


#2

Not sure why you have new_word[1:8] and print new_word[1:4] in your code.
Error message says to set new_word[1:len(new_word)](the slice) equal to new_word. And then you just print new_word.


#3

please send the code in proper format ,seems like one you told is not working.


#4

I don't see you do this.
And I can't send you the solution. It's against the guidelines.


#5

Bro I have to input a word which contain ay but none of them are working what should i do?


#6

I can't really help you with the information you provided. This is someone's thread.
Create a new one, provide link to lesson you're stuck on, share your code and problem. We'll help you from there.


#7

Here is the error I am landing into after trying.


#8

I Figured the way out now ,,,thank you for your help

Below was the code I made a change.

new_word=new_word[1:len(new_word)]

print new_word


#9

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.