from Card import * from ATM import * cards = [Card(1, 1234, 1000), Card(2, 1233, 500), Card(3, 1222, 100)] bankomat = ATM(cards) while True: bankomat.enter_card()