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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #84 · 13 мај

В продолжение прошлого поста про цифры в мире строк. Почему методы isdigit() и isnumeric() не определяют в строке float и отрицательные значения? Дело в том, что эти методы работают с ЦИФРАМИ, то есть с единичным символом. А строка "-2" или "3.4" это уже ЧИСЛО. То есть не символ а значение, записанное несколькими символами. Все озвученные методы проходятся по каждому символу строки и проверяют их индивидуально. В юникоде есть символы цифр с точками "🄀⒈⒉⒊⒋⒌⒍⒎⒏⒐" Каждая из них это ОДИН СИМВОЛ, поэтому он будет считаться цифрой >>> '⒌'.isdigit(), '⒌'.isnumeric() True, True Но когда мы пишем это выражение в два символа ( 5+точка), то это не работает. >>> '5.'.isdigit(), '5.'.isnumeric() False, False А еще есть такие символы >>> '⑴⑵⑶⑷⑸'.isdigit() True >>> '🄁🄂🄃'.isdigit() True Но они не преобразуются в десятичные цифры >>> '⒈'.isdecimal() False >>> '🄃'.isdecimal() False >>> '⑶'.isdecimal() False #basic

Hashtags

Резултати

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

Пребарај: #tokensystem

当前筛选 #tokensystem清除筛选
ChatGPT AI Technology News

@chatgpt_officialnews · Post #22 · 11.02.2025 г., 09:07

🔥 Hey everyone, we've got some awesome news! Now you can switch the bot's AI model from gpt-4o-mini to gpt-4o, o1, or o3 using the command below: /model 🚀 Yup, you heard that right! It’s like choosing from different ice cream flavors—each one has its own irresistible taste! 🍦 ❓ Do you want fast and playful answers with gpt-4o-mini? Or are you after precise and calculated responses with gpt-4o? Maybe you're in the mood for a unique vibe with o1 or o3? The choice is all yours! 🙂 So, let's have some fun and see which model suits your style best. If you have any questions or even a cool joke, feel free to share it with us at: 🤩@OpenAI_helpdesk GPT_o3_mini: • Smarter than 90% of people • Speed: 3/5 • Cost: about 90X GPT_o1: • Super smart but a bit slow (Speed: 1/5) • Supports images • Cost: about 300X GPT_4o_mini: • Our main ChatGPT engine • Super fast (Speed: 5/5) • Supports images and free tokens • Only costs 150X! GPT-4o: • Speed: 4/5 • Intelligence: 3/5 • Supports images and free tokens • Cost: about 36X per word + 900X per request 💱 You might end up with too few tokens, so it's better to buy tokens right away to fully enjoy all the bot's awesome features. ☺️ Stay happy and enjoy the bot! ➖➖➖➖🔻 💎@Chatgpt_OfficialNews – Stay Updated! ⚡️ 🧠 BOT: @Chatgpt_OfficialBOT #️⃣#ChatGPT#AI#OpenAI#TokenSystem#CryptoPayments#BotSupport#Update ➖➖➖➖🔺

ChatGPT AI Technology News

@chatgpt_officialnews · Post #20 · 28.01.2025 г., 17:01

🌟 Exciting News for Our Users! 🌟 We’ve upgraded our system with a token mechanism for seamless usage! 🎉 Here's how it works: 💡 Tokens are deducted based on the number of characters in your question and the bot’s response. 📥 Daily Bonus: Every day, you’ll receive a free token refill to keep chatting without interruptions! 💳 Recharge Options: You can now top up your balance using Telegram Stars and cryptocurrency payments (BTC, ETH, USDT, and more)! 🚀 Enjoy more flexibility and freedom with this new system. Thank you for being part of our community – stay tuned for more updates! 💬 ➖➖➖➖🔻 💎@Chatgpt_OfficialNews – Join Us! ⚡️ 🤖 BOT: @Chatgpt_OfficialBOT 📱#ChatGPT#AI#OpenAI#TokenSystem#CryptoPayments#BotSupport#CommunityDriven ➖➖➖➖🔺