TGTGInsightinteligencia telegramLIVE / telegram public index
← Python Academy

TGINSIGHT SIMILAR POSTS

Buscar contenido similar

Canal fuente @python_academy · Post #2282 · 4 dic

3 интересных функции в random Этот пост более для тех, у кого есть соответствующий бэкграунд и кто хочет знать про random больше среднего. betavariate() — используется для получения случайного числа с плавающей запятой от 0 до 1 на основе бета-распределения (применяется для статистических расчетов). gauss() — генерирует случайное число с плавающей запятой на основе распределения Гаусса (используется в теории вероятности). paretovariate() — возвращает случайное число с плавающей запятой на основе распределения Парето (используется в теории вероятности). Кстати, можете посмотреть на графиках результаты вызова этих функций по 100к раз тут, тут и тут. #random

Hashtags

Resultados

962 posts similares encontrados

Búsqueda global general

цикорiй

@tsukassadrive · Post #1843 · 21/07/2024, 09:50

#random#screenshot#haruhi source Харухи следит за тем чтобы ты провёл(-а) день хорошо.

djangoproject

@djangoproject · Post #227 · 16/01/2017, 11:33

http://stackoverflow.com/questions/2257441/random-string-generation-with-upper-case-letters-and-digits-in-python/23728630#23728630 Using #random.#SystemRandom() instead of just random uses /dev/urandom on *nix machines and #CryptGenRandom() in Windows. These are cryptographically secure #PRNGs. Using random.choice instead of random.SystemRandom().choice in an application that requires a secure PRNG could be potentially devastating, and given the popularity of this question, I bet that mistake has been made many times already. ''.join(random.SystemRandom().choice(string.ascii_uppercase + string.digits) for _ in range(N))

djangoproject

@djangoproject · Post #226 · 15/01/2017, 07:37

http://stackoverflow.com/questions/2257441/random-string-generation-with-upper-case-letters-and-digits-in-python/23728630#23728630 Using #random.#SystemRandom() instead of just random uses /dev/urandom on *nix machines and #CryptGenRandom() in Windows. These are cryptographically secure #PRNGs. Using random.choice instead of random.SystemRandom().choice in an application that requires a secure PRNG could be potentially devastating, and given the popularity of this question, I bet that mistake has been made many times already. ''.join(random.SystemRandom().choice(string.ascii_uppercase + string.digits) for _ in range(N))

Quiet World 🍁

@QuietWorld · Post #7406 · 16/06/2020, 02:49

Behind the scene of what's coming up in my upcoming Youtube videoss😂 Note: not about Henoa le kitten. Guess what?😉 Subscribe and turn on the notification if you don't wanna miss out😉 #chupdate#youtube#random @quietworld🍃

12•••5•••10•••15•••20•••25•••30•••35•••40•••45•••50•••55•••60•••65•••70•••7374757677•••8081