Please ignore secret bonuses. Secret tests do NOT award bonus. Max hw grade is 30+2 bonus efficiency

Do you need help?

Notice Board

[ATTENZIONE] E' sufficiente usare una funzione ricorsiva di libreria? (NO)

stepzepp (7370 points)
9 19 26
in Es3 by (7.4k points)
closed by

Ho notato che il grader individua come ricorsivo il to_string() presente nella libreria my_html fornitaci dal professore.

E' sufficiente questo o dobbiamo necessariamente introdurre noi un metodo ricorsivo all'interno delle nostre funzioni nonostante utilizzando il to_string() queste vengano rilevate già come ricorsive?

Grazie

580 views
closed with the note: answered

1 Answer

Best answer
andrea.sterbini (207920 points)
750 1267 2373
by (208k points)
selected by
No, non vale ...
andrea.sterbini (207920 points)
750 1267 2373
by (208k points)
Non importate my_html con
     from my_html import *
ma con
   import my_html
(e poi usate my_html.fparse)
stepzepp (7370 points)
9 19 26
by (7.4k points)
reshown by
Sisi, è quello che sto facendo ma questo to_string() come ricorsione mi pareva troppo banale! Mi tocca convertire quei for in ricorsioni mi sa!
andrea.sterbini (207920 points)
750 1267 2373
by (208k points)
edited by
mi sa anche a me, ho corretto isrecursive.py per ignorare questi casi