I have a code with a class and many objects created from it. There are many objects and I want to print them altogether using a function. Can anybody tell me how can this be done?? Here's that code: https://code.sololearn.com/cU7TI6AjVY09/?ref=app First there is a function dec() for printing a line, next is info() to print the parameters and after that is call() to call the both functions above. But using call() I have to call the function as many times as the objects. So I want to create a function that includes call() and prints all the objects as well.
5/24/2022 7:13:25 AM
Gursimran5 Answers
New AnswerSololearn Inc.
535 Mission Street, Suite 1591Send us a message