@developmentnewsindia · Post #44192 · 29.04.2026 г., 11:50
Maruti Suzuki to invest ₹14,000 cr in FY27 on capacity expansion #Automobile
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #83 · 11 мај
У строки в Python есть два очень похожих метода. На столько похожих что кажется они делают одно и тоже. Это метод isdigit() и isnumeric() Давайте посмотрим зачем нам два одинаковых метода? И так ли они одинаковы? Очевидно что isdigit() говорит нам, состоит ли строка только из чисел 0-9 >>> '12'.isdigit() True >>> '12x'.isdigit() False >>> '-12'.isdigit() False >>> '12.5'.isdigit() False Можно предположить что isnumeric() делает более глубокий анализ и распознаёт в строке float или отрицательное число. >>> '15'.isnumeric() True >>> '-15'.isnumeric() False >>> '15.2'.isnumeric() False Нет, всё так же как и с другим методом. В чем же тогда разница? Для начала посмотрим следующие примеры: >>> '5'.isdigit(), '5'.isnumeric() # Обычная цифра 5 # True, True >>> '꧕'.isdigit(), '꧕'.isnumeric() # Яванская 5 # True, True >>> '෩'.isdigit(), '෩'.isnumeric() # Синхала 3 # True, True >>> '৩'.isdigit(), '৩'.isnumeric() # Бенгальская 3 # True, True >>> '༣'.isdigit(), '༣'.isnumeric() # Тибетская 3 # True, True >>> '³'.isdigit(), '³'.isnumeric() # 3 верхний индекс (степень) # True, True >>> '𝟝'.isdigit(), '𝟝'.isnumeric() # Математическая двойная 5 # True, True >>> '๔'.isdigit(), '๔'.isnumeric() # Тайская 4 # True, True >>> '➑'.isdigit(), '➑'.isnumeric() # 8 в круге # True, True А теперь примеры в которых, по мнению Python, результаты не равны >>> '¾'.isdigit(), '¾'.isnumeric() # дробь три четверти # False, True >>> '⅕'.isdigit(), '⅕'.isnumeric() # дробь одна пятая # False, True >>> '𒐶'.isdigit(), '𒐶'.isnumeric() # клинопись 3 # False, True >>> '三'.isdigit(), '三'.isnumeric() # 3 из унифицированной идеограммы # False, True >>> '⑩'.isdigit(), '⑩'.isnumeric() # цифра 10 в круге # False, True >>> 'Ⅳ'.isdigit(), 'Ⅳ'.isnumeric() # Римская 4 # False, True >>> '𑇪'.isdigit(), '𑇪'.isnumeric() # Сенегальская архаическая 10 # False, True >>> '𐌢'.isdigit(), '𐌢'.isnumeric() # Этрусская цифра 10 # False, True >>> 'ↂ'.isdigit(), 'ↂ'.isnumeric() # Римская цифра 10000 # False, True >>> '〇'.isdigit(), '〇'.isnumeric() # Символ ККЯ ноль # False, True Получается, что isdigit() говорит нам, является ли символ десятичной цифрой или спецсимволом, имеющим цифирное значение после преобразования. В свою очередь isnumeric() включает все дополнительные символы юникода которые имеют отношения к числовым и цифровым представлениям. Ну и пара примеров в которых в обоих случаях символ не является числом, это эмодзи. >>> '🕙'.isdigit(), '🕙'.isnumeric() # эмодзи 10 часов # False, False >>> '7️⃣'.isdigit(), '7️⃣'.isnumeric() # эмодзи 7 # False, False Также есть еще один дополнительный и весьма полезный метод isdecimal(). Он нам сообщает, можно ли из указанного символа сделать простую десятичную цифру. То есть сработает ли метод int(x) >>> '෩'.isdecimal(), int('෩') # Синхала 3 # True, 3 >>> '➑'.isdecimal(), int('➑') # 8 в круге # False, ValueError Какие выводы? 🔸 При определении цифры в строке isdigit() подходит лучше чем isnumeric(), но оба не гарантируют успешную конвертацию в int 🔸 Для однозначного определения возможности преобразования строки в int лучше подходит метод isdecimal() 🔸 Для однозначного определения символов 0...9 лучше использовать regex Полный список символов юникода которые определяются как numeric #basic
Hashtags
Пребарај: #automobile
@developmentnewsindia · Post #44192 · 29.04.2026 г., 11:50
Maruti Suzuki to invest ₹14,000 cr in FY27 on capacity expansion #Automobile
Hashtags
@developmentnewsindia · Post #43682 · 16.04.2026 г., 14:20
Tata Motors on Wednesday, 15 April, announced plans to manufacture# hydrogen fuel cell and internal combustion engine (ICE) buses at its Lucknow facility, with Tata Sons Chairman N Chandrasekaran revealing the initiative during milestone celebration of the plant's one millionth vehicle rollout. #automobile https://t.co/uAHJ2iNJAX
Hashtags
@repo_science · Post #3521 · 17.08.2023 г., 16:31
#hacking#automobile 🛠 Automobile Hacking and Security v1.0 Description In this course we will see how modern vehicles can be hacked and how we can find vulnerabilities in it. Since this topic will be new to most of you, we will start this course from a very basic level. First we will look into the communication protocols of embedded systems and see how systems communicate with each other. After creating our base we will see Controller Area Network or CAN for short. CAN is the protocol on which modern vehicles operate so first we will look at this protocol and see how the protocol works, why we need this protocol and how vehicles operate on this protocol. 🌐En ⚖️1.04 GB 🔗Link ----- Main channel:@repo_science Coupons:@freecoupons_reposcience -----
Hashtags
@developmentnewsindia · Post #44048 · 25.04.2026 г., 05:28
Stellantis India rolls out 50,000th vehicle from Thiruvallur plant. Milestone reflects India-led Smart Car platform for domestic and export markets; facility supports global manufacturing and R&D integration. #automobile#MakeInIndia https://t.co/m8GsYXYNgP
Hashtags
@developmentnewsindia · Post #43306 · 07.04.2026 г., 01:40
India #automobile retail sales hit 29.67 mn units in FY26, up 13% YoY. Passenger vehicles reached 4.7 mn (+13%) and two-wheelers 21.4 mn (+13%), while EV sales rose 25% to 2.45 mn. Commercial vehicles crossed 1.06 mn (+12%), and March sales rose 25% to 2.69 mn units. #Economy
Hashtags
@didiplustv · Post #90 · 18.10.2025 г., 17:19
76. Ночной Тегеран #iran#automobile#иран#travel#тегеран#ночнойтегеран#DiDiPlusTV
@didiplustv · Post #176 · 11.12.2025 г., 18:17
162. Дорога к Каспийскому морю. #iran#иран#travel#automobile#tehran#иран # caspiansea #горы#shorts#DiDiPlusTV
@didiplustv · Post #160 · 20.11.2025 г., 17:35
146. Поездки по Тегерану. #iran#иран#travel#tehran#automobile#тегеран#юмор#livefromiran#shorts#DiDiPlusTV
@didiplustv · Post #172 · 11.12.2025 г., 09:23
158. Голоса большого города. #иран#iran#automobile#travel#tehran#тегеран#mashad#мешхед ##shorts#DiDiPlusTV
@didiplustv · Post #124 · 01.11.2025 г., 14:47
110. Движение в мегаполисе #automobile#иран#тегеран#tehran#движение#пробки#traffic#DiDiPlusTV
@didiplustv · Post #91 · 18.10.2025 г., 17:25
77. Форсаж в Тегеране #iran#иран#automobile#тегеран#tehran#race#гонки#форсаж#DiDiPlusTV
@didiplustv · Post #184 · 20.12.2025 г., 20:36
170. По дороге на север Ирана. #music#lyrics#iran#automobile#иран#tehran#природа#mountains#shorts#DiDiPlusTV