Below please find links to archived Q&A discussion for the Practice Makes Perfect course.
why this isn't working?
for i in range(len(text),1):
I know this may be a basic question but I have a code that works but I don't know how to print out the results so that I can see it myself. Here's what I have:
text = raw_input("Write a sentence with no punctution: ")
word = raw_input("Enter a word you would like to censor out: ")
new_text = 
chop_word = text.split()
for x in chop_word:
if x == word:
y = "*" * len(word)
return ' '.join(new_text)