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

Python Python Basics (2015) Python Data Types String Formatting

communication issue - won't let me submit my challenge - I try to reload but I get the same error message

I logged in and hit resume and it took me to the "challenge question" 1 of 2 that I already answered the last time I was in the course. I tried to answer again and hit check work, but it gave me a "OH NO Communication error". I tried the "reload" but that didn't work either.

strings.py
name = "Beverly"
email_segment = "To { }.format (name)

1 Answer

Steven Parker
Steven Parker
231,236 Points

One of your errors is apparently confusing the checker (I suspect the missing quote).

  • the challenge said "Assign this to the variable subject", but you named yours email_segment instead
  • the challenge said "use .format() on the string "Treehouse loves {}"..." but you have "To { }" instead
  • you forgot the quote mark between the brace (}) and .format