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!
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

rs2393
1,280 PointsWhy is my code not working?
attendees = ["Ken", "Alena", "Treasure"] print("There are", len(attendees), "attendees currently")
1 Answer

Philip Schultz
11,437 PointsI'm not sure what challenge you're working on, so I don't know what the result should be. This code runs fine to me though. Maybe it wants the number to be converted to a string? Give some more details as to what you are trying to accomplish, if it's a challenge than post the instructions.
In case you are trying to convert the number to a string see below.
attendees = ["Ken", "Alena", "Treasure"]
print("There are", str(len(attendees)), "attendees currently")