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 trialnicholas Christie
433 Pointsdont know what to write seems different from lesson
?
def printer
print("Hi")
printer()
1 Answer
Conrad Cortes
8,418 PointsSo on the function don't forget to close it properly.
def printer():
The question for this challenge is trying to get you to multiply hi by however many times the "count" is.. I'm sure someone else could explain exactly whats going on but this is how I passed the challenge.
def printer(count):
print("Hi " * count)
Jennifer Nordell
Treehouse TeacherJennifer Nordell
Treehouse TeacherHi Conrad! I moved your comment to an answer. This will mark the question as "Answered" in the forums and allow for voting on your answer