Python Zdefiniuj nazwę zmiennych losowych

import random, string

variable = ''.join(random.SystemRandom().choice(string.ascii_letters) for _ in range(15))     ## the number you want
cod = f"{variable} = 'text example'\nprint(variable, ':', {variable})"
exec(cod)
Schelz