Censor Dispenser - I don't know where or how to begin

Hi everyone,

This is my first time posting after 2 months of studying (first time coding). I’m having trouble with the Censor Dispenser Project: https://www.codecademy.com/practice/projects/censor-dispenser
I don’t even understand how to begin. The .txt file is not a string or a list so I can’t see how I can do anything to it. I tried turning it into a list using list() but all I got was a list of individual letters. I tried using str() but nothing happened. I thought about copying and pasting the text into the script.py file but that seems redundant. I feel I missing something obvious here. Can anyone give me the initial nudge in the right direction?

Many thanks!

Hello, @kirkbown. Welcome to the forums!

#try this:
#you'll see the whole email as it was originally written
#you can convert it to a list using split()

Thank you!

I knew it had to be something simple but I just couldn’t see it.

1 Like

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