Issue
I try to call a function that is defined in a cell in another one:
But got "name 'func' is not defined". How to solve such a problem? I want to define some function on top of the colab file that I can use in any other cell of this file.
Solution
Before the running code below always run the code on top if below one depends on top! After running code on top, the code below was started successfully
Answered By - MainS
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.