So I'm unsure of why I'm getting the red sad faces :< It seems that my code is giving the same/correct answer.
check50 looks for very exact output. A missing or extra space, carriage return/line feed, prompt, or anything different from what was specified in the problem set will cause a fail.
So with that in mind, did you remember the '\n' at the end of your output?
If this answers your question, please click on the check to accept. Let's keep up on forum housekeeping. ;-)