예제 #1
0
 def configurePartyMoney(self):
     if not World.economy:
         print("First, configure the value and names of coins used")
         return
     print(World.economy)
     d = {}
     for coin, value in World.economy:
         d[coin] = int(
             input(
                 f"Input the number of {coin} to give the party. They have value {value}: "
             ))
     Party.party.configureMoney(World.Account(d))