@DESI_MEMES_Funny_Jokes · Post #5577 · 26.10.2024 г., 17:23
! 🚗💨#Tesla#Cybertruck#FutureOfDriving”
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #76 · 27 апр.
Ранее я делал серию постов про битовые операторы. Вот вам ещё один наглядный пример как это используется в Python в модуле re. Чтобы указать флаг для компилятора нам надо указать его после передаваемой строки. Например, добавляем флаг для игнорирования переноса строки. pattern = re.compile(r"(\w+)+") words = pattern.search(text, re.DOTALL) А как указать несколько флагов? Ведь явно будут ситуации когда нам потребуется больше одного. Кто читал посты по битовые операторы уже понял как. pattern.search(text, re.DOTALL | re.VERBOSE) А теперь смотрим исходники, что находится в этих атрибутах? Не удивительно, степени двойки. Почему? Потому что каждое следующее значение это сдвиг единицы влево. >>> for n in [1, 2, 4, 8, 16, 32, 64, 128, 256]: >>> print(bin(n)) 0b1 0b10 0b100 0b1000 0b10000 0b100000 0b1000000 0b10000000 0b100000000 Чтобы было понятней, давайте напишем тоже самое но иначе, добавим ведущие нули: 000000001 000000010 000000100 000001000 000010000 000100000 001000000 010000000 100000000 Не понятно что тут происходит? Читай три поста про битовые операторы начиная с этого ➡️https://t.me/pythonotes/45 В общем, это пример применения побитовых операций в самом Python. Теперь вы знаете Python еще немного лучше) #tricks#regex#libs
Пребарај: #futureofdriving
@DESI_MEMES_Funny_Jokes · Post #5577 · 26.10.2024 г., 17:23
! 🚗💨#Tesla#Cybertruck#FutureOfDriving”
@revheadcrypto · Post #502 · 17.09.2024 г., 15:17
🚗💨Unveiling the Lotus Theory 1: A 1000-HP Marvel!🌟 Get ready to be amazed by the all-carbon supercar that redefines performance! With a compact length of just 4.5 meters, the Theory 1 features a unique door design that lifts up while sliding back. 🚪✨ 🔋Power & Performance: - 1000 HP💥 - 0-100 km/h in just 2.5 seconds⏱️ - Top speed exceeding 320 km/h🚀 - Equipped with a 70 kWh battery for a range of 400 km⚡ - Weighs in at an impressive 1.6 tons⚖️ #LotusTheory1#Supercar#ElectricPerformance#CarEnthusiast#Innovation#FutureOfDriving#LuxuryCars#Auto
@revheadcrypto · Post #453 · 06.09.2024 г., 08:22
🔋✨MG to Launch Electric Car with Solid-State Batteries Ahead of Competitors! The brand's serial models are set to feature these innovative batteries by mid-2025, as announced by SAIC Vice President Yu Jingmin. 🚗⚡️ Preliminary reports suggest that the first model equipped with this cutting-edge technology will be the production version of the recent MG Cyber GTS concept. 🌟 Solid-state batteries offer numerous advantages: reduced size and weight, increased energy density, longer lifespan across a wider temperature range, and a lower risk of ignition. 🔒🔥 #MG#ElectricCars#SolidStateBatteries#Innovation#CyberGTS#FutureOfDriving#Auto
@revheadcrypto · Post #643 · 19.11.2024 г., 10:12
🚗✨ Introducing the Robo X: The Ultimate Battery Supercar! 🚀💨 Get ready to experience mind-blowing acceleration with a stunning 0-100 km/h in just 1.9 seconds! ⚡️🔥 Built on a lightweight carbon and aluminum monocoque, the Robo X weighs in at just 1850 kg. With an impressive estimated range of 650 km, this supercar is designed for both speed and endurance! 🌍🔋 Want to be among the first to own this revolutionary vehicle? Pre-order now with a deposit of 49,999 yuan (approximately 700,000 rubles)! 💰🛒 Production is set to kick off in 2027, so don't miss your chance to be part of the future of automotive innovation! 🏎️💨 #RoboX#Geely#Baidu#Supercar#ElectricVehicle#FutureOfDriving#Innovation#PreOrderNow#Auto