Respuesta :

0 would be the solution, no solution mans that the X is undefined, but here you are saying that X is equal to 0, therefore x is the solution.

TLDR; Your friend is wrong