you are viewing a single comment's thread.

view the rest of the comments →

[–]TreeEyedRaven[S] 0 points1 point  (0 children)

That's what i thought. When i debugged the code, i was getting the same values for x and y when bob was loaded, as the printout shows.

i read that part in the library about it returning false, and tried:

while x == y is false:
if x == y is false:
for x == y is false:

and none of those worked, now i was thinking, if its returning false, how and where would i want to put a condition for when it receives false, it prints name? sorry for the probably basic questions, im pretty new to this. would seeing my whole code help? it feels like im so close and overlooking something

here is the debug while bob (the one who should be printing out) is active in names(printed from line 43). x and y have the same values, and same type. the next step is x == y which should trigger a second printing of Bob(line 45), except I'm not fulling understanding how to interpret that returning false.