2 недели назад в почтовой рассылке Python-ideas (https://mail.python.org/mailman/listinfo/python-ideas) Сергей Сторчака - Python Core Dev, предложил добавить imath модуль в Python, предназначенный для работы с целыми числами. А именно добавить такиефункции как:
factorial(n)
gcd(n, m)
as_integer_ration(x)
binom(n, k)
sqrt(n)
isprime(n)
primes()
Мне эта идея кажется очень интересной и ее уже поддержало достаточное кол-во разработчиков Python. Кстати в пакете math/big в Go есть также некоторые похожие функции: math/big/#Int.GCD и math/big/#Int.Binomial.
2 недели назад в почтовой рассылке Python-ideas (https://mail.python.org/mailman/listinfo/python-ideas) Сергей Сторчака - Python Core Dev, предложил добавить imath модуль в Python, предназначенный для работы с целыми числами. А именно добавить такиефункции как:
factorial(n)
gcd(n, m)
as_integer_ration(x)
binom(n, k)
sqrt(n)
isprime(n)
primes()
Мне эта идея кажется очень интересной и ее уже поддержало достаточное кол-во разработчиков Python. Кстати в пакете math/big в Go есть также некоторые похожие функции: math/big/#Int.GCD и math/big/#Int.Binomial.
“Hey degen, are you stressed? Just let it all out,” he wrote, along with a link to join the group. The public channel had more than 109,000 subscribers, Judge Hui said. Ng had the power to remove or amend the messages in the channel, but he “allowed them to exist.” The channel also called on people to turn out for illegal assemblies and listed the things that participants should bring along with them, showing prior planning was in the works for riots. The messages also incited people to hurl toxic gas bombs at police and MTR stations, he added. In the next window, choose the type of your channel. If you want your channel to be public, you need to develop a link for it. In the screenshot below, it’s ”/catmarketing.” If your selected link is unavailable, you’ll need to suggest another option. How to Create a Private or Public Channel on Telegram?
from us