People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...
@emmatyping
Well, it's not a statically-typed language. In Rust you'd have to define some kind of Fruit trait.
@petealexharris On the contrary, it just works in Rust