Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 1
Importing
Is it possible to import the function of another code you have written into a separate code? Iām using Python.
4 Respostas
+ 3
it doesnt work on sololearn only on actual python.
+ 1
Just use āfrom NameOfCode import NameOfFunctionOrClassā above the rest of the code
It can be imported like any normal library
0
This doesnāt seem to work in SoloLearn, am I missing something?
0
Okay, thatās what I thought! Thanks!!