Question:
I wonder if my code works because the definitions aren’t printed. Please help!
Repl link:
https://replit.com/@R4ul1337/Python?s=app
code snippet
Question:
I wonder if my code works because the definitions aren’t printed. Please help!
Repl link:
https://replit.com/@R4ul1337/Python?s=app
code snippet
Hi @R4ul1337 , welcome to the forums!
Words are printed in the Console, as far as I can see.
The only thing I found is that you have a function named tool()
and you’re trying to access a name attribute of tool
using tool.name
? Isn’t tool
a function? You’re treating like an object with attributes. (inside actualtool()
).
The other thing is that you have a infinite loop to validate the name.