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
-
mwthomas10 ·
Posted in Troubleshooting1 -
1
-
Nightmare-Rex ·
Posted in Windows0 -
7
-
2
-
Master_Kilvin ·
Posted in New Builds and Planning0 -
1
-
Foure ·
Posted in Networking1 -
PowerPCFan ·
Posted in Windows11 -
clutchmaster ·
Posted in Tech News6
-
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