File size: 191 Bytes
2795186
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import random

class RandomAmount:
    def __init__(self, min, max):
        self.min = min
        self.max = max

    def getAmount(self):
        return random.uniform(self.min, self.max)