Write a recursive function laugh that takes a positive integer and returns a string consisting of "ha" repeated times. For example, laugh 3 should return "hahaha".

Your work

Log in to submit your work and track progress.