@staticmethod | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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 Answers