TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #254 · 11 јун.

Тип строки в Python имеет очень много удобных методов. Сегодня пост про два таких метода которые чаще всего используются "однобоко". Это методы startswith() и endswith() Самый обычный сценарий использования — проверка, начинается ли строка с указанной подстроки? >>> "some_string".startswith("some") True И аналогичная ситуация с зеркальным вариантом этой функции, проверка совпадения с конца >>> "some_string".endswith("some") False Так они используются в большинстве случаев что я видел. Но у этих функций есть еще два варианта использования. 🔸Сравнение нескольких подстрок Для проверки нескольких подстрок в одной строке обычно вызывают эти функции несколько раз. Но на самом деле достаточно передать кортеж со всеми строками один раз. Если будет хоть одно совпадение то функция вернёт True. >>>"my_image.png".endswith(("jpg", "png", "exr")) True 🔸Диапазон поиска Вторым аргументом можно передать индекс символа с которого следует начать сравнение, а третий аргумент это индекс последнего символа. >>> ".filename.ext".startswith("file", 1) True >>> "file_###.ext".endswith('#', 0, -4) True Индексы можно указать отрицательными, что означает отсчёт с конца. #trics#basic

Hashtags

Резултати

Пронајдени 101 слични објави

Пребарај: #xtz

当前筛选 #xtz清除筛选
Pro Analysis

@proanalysistrader · Post #28430 · 28.01.2025 г., 13:50

#XTZ/USDT analysis : #XTZ is in an uptrend and has broken out above the 200 EMA and previous highs. Currently, the price is retesting the previous resistance zone, which has now turned into support. It is anticipated that the price will rebound from this level and resume bullish momentum to test the previous highs. TF : 1D Entry : $1.012 Target : $1.800 SL : $0.783

Hashtags

Pro Analysis

@proanalysistrader · Post #28342 · 15.12.2024 г., 12:33

#XTZ/USDT analysis : #XTZ has broken below the 200 EMA and has retested it. Currently, the price is encountering resistance from the resistance zone, and it is expected to decline from here. A drop is anticipated, potentially leading to a test of previous lows. TF : 2H Entry : $1.420 Target : $1.150 SL : $1.530

Hashtags

Pro Analysis

@proanalysistrader · Post #28023 · 15.10.2024 г., 14:54

#XTZ/USDT analysis : #XTZ has broken out and retested the previous swing high and the 200 EMA. The price is expected to bounce back from this level and test the higher levels. TF : 4H Entry : $0.694 Target : $0.744 SL : $0.661

Hashtags

Pro Analysis

@proanalysistrader · Post #27837 · 13.08.2024 г., 16:39

#XTZ/USDT analysis : #XTZ is again approaching the 200 EMA resistance after facing rejection from there and is expected to continue its bearish momentum once the zone is tested. The previous low will be the target level. TF : 2H Entry : $0.687 Target : $0.591 SL : $0.709

Hashtags

American Crypto©

@americancryptotrading · Post #27528 · 08.02.2026 г., 10:09

🇺🇸#XTZ/USDT is facing the lowerboundary of the fallingwedge formation on the 2W chart👨‍💻 Expecting a price recovery🚀 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27369 · 09.09.2025 г., 09:42

🇺🇸#XTZ/USDT has retested the s/rzone on the daily chart🔍 The rally is coming🚀 American Crypto©

Hashtags

123•••89
ПретходнаСтраница 1 од 9Следна