I’m Lisa Dyson. I’m using Exercism’s Python track to better understand coding, and I’ve run into a possible issue in the “Two Fer” exercise.
My solution:
def two_fer(name="you"):
return f"One for {name}, one for me."
This works perfectly when tested locally and in online Python interpreters, but Exercism marks it as failing.
The expected and actual output seem identical:
“One for Alice, one for me.”
Is this a bug in the test validator, or am I missing something subtle like whitespace or formatting?
Thanks for any help.
Lisa Dyson