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

Резултати

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

Пребарај: #fxs

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

@proanalysistrader · Post #28380 · 09.01.2025 г., 14:08

#FXS/USDT analysis : #FXS has broken below the 200 EMA and the support zone. It is advisable to wait for a price retest of this zone for a potential short entry, as the price is anticipated to decline further, targeting lower levels. TF : 4h Entry : $3.455 Target : $2.400 SL : $3.945

Hashtags

Pro Analysis

@proanalysistrader · Post #28320 · 07.12.2024 г., 02:39

#FXS/USDT analysis : #FXS has successfully broken out and retested the swing high resistance following the breakout of the trendline in an established uptrend. The price is expected to sustain its bullish momentum and aim for previous highs. TF : 30min Entry : $4.762 Target : $5.080 SL : $4.526

Hashtags

Pro Analysis

@proanalysistrader · Post #28107 · 02.11.2024 г., 12:08

#FXS/USDT analysis : #FXS is currently in a downtrend and is expected to maintain its bearish momentum. For a short entry, wait for the price to break the current support zone, entering on a break below the $1.814 level. The previous lows will serve as target levels. TF : 15min Entry : $1.814 Target : $1.797 SL : $1.826

Hashtags

Pro Analysis

@proanalysistrader · Post #27911 · 07.09.2024 г., 16:20

#FXS/USDT analysis : #FXS is in a downtrend, forming lower lows (LLs) and lower highs (LHs) structure. The price is currently trading in the resistance zone near the 200 EMS. It is expected to be rejected from that area and continue its bearish momentum. TF : 30min Entry : $1.734 Target : $1.651 SL : $1.792

Hashtags

American Crypto©

@americancryptotrading · Post #27455 · 30.11.2025 г., 11:39

🇺🇸#FXS/USDT is trading near the lowerborder of the fallingwedge formation on the weekly chart💁‍♂️ A great moment to accumulate📈 American Crypto©

Hashtags

ПретходнаСтраница 1 од 3Следна