So during this task I struggled for awhile and this is what was wrong:
I assigned the animals an owner and had this as the code:
woman = cat.owner;
woman = dog.owner;
woman = fish.owner;
then I downloaded the correct solution and it was changed to this:
cat.owner = woman;
dog.owner = woman;
fish.owner = woman;
why does my solution not work?
Does order matter?
Resolved
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
Gellert Varga
3 February 2021, 22:51solution
If You want to put a value into an empty variable, what will You write:
x = 8;
or
8 = x; ?
The same is the difference between the versions above, too.
+3
sgubow
6 February 2021, 04:49
that makes more sense thank you
0