@staticmethod | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

@staticmethod

in the example given with class Pizza, i noticed that the output is the same regardless if we write the @staticmethod decorator or not. how come?

3rd Jul 2020, 11:18 AM
Goran
0 Réponse