Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Julieta Dalla Pozza](https://uploads.teamtreehouse.com/production/profile-photos/11655513/micro_Screen_Shot_2021-03-03_at_21.13.34.jpg)
Julieta Dalla Pozza
4,337 PointsWORKSPACE
Hello, in the workspace provided by treehouse does not work for me. I have created a new file notification.py i run python notification.py and nothing happens! also i tried python3 and nothing. My code seems to be ok dont know why does not work
5 Answers
![jb30](https://secure.gravatar.com/avatar/681668d7cc4c5486851384a0feddda37?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
jb30
44,806 PointsAre the three lines function calls at the end indented? If so, try un-indenting them to get them out of the yell
function.
def yell(text):
text = text.upper()
number_of_characters = len(text)
result = text + "!" * (number_of_characters // 2)
print (result)
yell("You are doing great!")
yell("Dont forget to ask for help!")
yell("Dont repeat yourself. Keep things Dry")
To use Markdown to format the code in the forums, you can put three backticks (`) and the name of the language (python) on the line before the code block, then put three backticks on the line after the code block. White space matters to Python, and Markdown will preserve spaces.
![jb30](https://secure.gravatar.com/avatar/681668d7cc4c5486851384a0feddda37?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
jb30
44,806 PointsHave you tried saving the file notification.py
before trying to run it? If so, does the file include a print statement?
![Julieta Dalla Pozza](https://uploads.teamtreehouse.com/production/profile-photos/11655513/micro_Screen_Shot_2021-03-03_at_21.13.34.jpg)
Julieta Dalla Pozza
4,337 PointsYes, i tried that and did not work either :/
![Rudy Barger](https://secure.gravatar.com/avatar/c4b29e747e889171c783f2c98f278fe3?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Rudy Barger
505 PointsI got the same exact issue.
def yell(text): text = text.upper() number_of_characters = len(text) result = text + "!" * (number_of_characters // 2) print (result)
yell("You are doing great!") yell("Dont forget to ask for help!") yell("Dont repeat yourself. Keep things Dry")
I made sure to save it and everything. Also made sure to run my ls -l to see if the file was there.
treehouse:~/workspace$ ls -l
total 8
-rw-r--r--. 1 treehouse users 283 Mar 3 17:16 hello.py
-rw-r--r--. 1 treehouse users 268 Mar 3 17:28 notifications.py
treehouse:~/workspace$ python hello.py
treehouse:~/workspace$ python notifications.py
treehouse:~/workspace$ ^C
![Robby den Edel](https://secure.gravatar.com/avatar/3ee4c231c3dffa69ab02a43c7b8cfdca?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Robby den Edel
217 Pointsi have the same issue with the amount of "!" when I do everything correctly.. maybe a bug in the workspace? I don't think it's a big issue as this is a minor thing I believe