How to create an unlimited number of instances of a class?

Let's say I write the application on calculation of funds. I have a class card, which piests amount of the card. But, if the user wants to create 10 cards, how do I create all these objects?
After all, to manually write all 10 sites is not convenient, and especially if polzoval want 100 cards.
Unlimited how to create objects of a class?
April 3rd 20 at 18:26
2 answers
April 3rd 20 at 18:28
1. unlimited number of class instances can be created in unlimited cycle
2. a limited number of instances of a class can be created in a limited cycle
3. organic number of instances of a class can be created in an organic cycle - patience.Luettg commented on April 3rd 20 at 18:31
4. organic number of instances of a class can be created in the organic cycle - Hallie_Pfannerstill commented on April 3rd 20 at 18:34
April 3rd 20 at 18:30
Let's fingers: how to eat a few spoonfuls of soup? Write an algorithm at least in pseudocode.

Find more questions by tags Python