Python Bugs
By
Guest
in Programming
in Programming
Go to solution
Solved by Garry Motorway,
Your FindNode function on line 105 is comparing number to the method GetNumber. You need to call it!
def FindNode(number): for val in tree: if (number == val.GetNumber): return val
should be
def FindNode(number): for val in tree: if (number == val.GetNumber()): return val
-
Featured Topics
-
Topics
-
sweshy ·
Posted in New Builds and Planning0 -
AbrahamKH ·
Posted in CPUs, Motherboards, and Memory15 -
0
-
2
-
0
-
Valley_ ·
Posted in Troubleshooting1 -
Eliel ·
Posted in Troubleshooting2 -
1
-
21
-
Ledains ·
Posted in Servers, NAS, and Home Lab3
-
-
play_circle_filled
Latest From ShortCircuit:
Feels like I'm wearing nothing at all... - Shokz OpenFit Air
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now