Jump to content

Need help with python in code academy

rambi36

Hey guys! I need a bit help trying to get past this part of code academy that i've been stuck on for quite a while(I know it might not seem too bad, it's an assignment for if I want to get into ap computer science next year) it's asking me to set new_word equal to the slice from the first index all the way to the end of new_word. I've tried everything they suggested and it's not really working. :( If you guys could help me figure out what to do, that would be awesome :)

Here is the link to the screenshot of what I have to do: http://gyazo.com/5baf0956bcbf76af903df6f4c92ed3c1

By the way, it's due in about 20 min so if I don't get past this im fucked

Life.exe is missing

Link to comment
Share on other sites

Link to post
Share on other sites

Look at the command it told you to use and look at what you typed.

1474412270.2748842

Link to comment
Share on other sites

Link to post
Share on other sites

Look at the command it told you to use and look at what you typed.

Gives me a syntax error 

Life.exe is missing

Link to comment
Share on other sites

Link to post
Share on other sites

Gives me a syntax error 

Because you didn't copy it correctly.

1474412270.2748842

Link to comment
Share on other sites

Link to post
Share on other sites

Apparently there is a error in the site so here is the solution to it. I feel guilty for letting you off easy but since this is kind of important just look.

 

https://gist.github.com/stevencombs/6189978 

 

PS: Study the code and see what you did wrong so you can learn!

My Current Build: 

Intel i5 3570K @ 4.4GHz 1.11V, Cooler Master Hyper 212 EVO, Asrock Z77 Extreme4, Corsair Vengeance 8GB 1600MHz, Samsung 840 EVO 250GB, Asus GTX 760 DCII Overclocked, Corsair CX600M

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×