• Как сделать команду с "шансом"?

    @Dumba Автор вопроса
    Здравствуйте, выдает ошибку :
    Traceback (most recent call last):
      File "C:/Users/admin/Desktop/bot-discord/discord-bot.py", line 23, in <module>
        random.choices(vars, weights=[0.9, 0.1])
      File "C:\Users\admin\AppData\Local\Programs\Python\Python38-32\lib\random.py", line 404, in choices
        raise ValueError('The number of weights does not match the population')
    ValueError: The number of weights does not match the population