File size: 160 Bytes
fad8b24
 
 
 
 
 
 
1
2
3
4
5
6
7
8
import random


def randomize_seed_fn(seed: int, randomize_seed: bool) -> int:
    if randomize_seed:
        seed = random.randint(0, 1000000)
    return seed