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

Резултати

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

Пребарај: #ingles

当前筛选 #ingles清除筛选
Repositorio data science

@repo_science · Post #3175 · 12.05.2023 г., 16:02

#ingles 🇬🇧🇺🇲 Si estas interesado en aprender inglés, puedes acceder a nuestro grupo Repo-Ingles - Aprende a hablar ingles como un nativo. - Escuela de Platzi - Curso de Ingles avanzado para Developers - Ingles desde cero ----- Main channel: @repo_science Coupons: @freecoupons_reposcience -----

Hashtags

BotsGram®

@botsgram_cu · Post #2993 · 05.09.2020 г., 17:50

¿Que puede hacer este bot? @GroupGeoLimiter_Bot Restrinja el acceso a su grupo según la ubicación. ¡Prohibir a todos los usuarios de los continentes, países, regiones o incluso ciudades que elija! Idioma: #Ingles #Administración#Grupo ( Visto en: @BotsGram_Cu )

BotsGram®

@botsgram_cu · Post #2992 · 05.09.2020 г., 17:46

¿Que puede hacer este bot? @tiktiktokrobot Sube videos o fotos a TikTok. Intercambia con gustos y disgustos. Aquí somos todos los que queremos comunicarnos, conocernos, ayudar, apoyar, hacer amigos, compartir éxitos y positivos Idioma: #Ingles#Ruso #TikTok#entretenimiento ( Visto en: @BotsGram_Cu )

BotsGram®

@botsgram_cu · Post #2990 · 05.09.2020 г., 17:34

¿Que puede hacer este bot? @AkiTGBot Akinator puede leer tu mente como por arte de magia y decirte en qué personaje estás pensando, con solo hacer algunas preguntas. Piensa en un personaje real o ficticio y Akinator intentará adivinar quién es. Idioma: #Ingles #Entretenimiento#juego#adivinar ( Visto en: @BotsGram_Cu )

BotsGram®

@botsgram_cu · Post #2976 · 20.08.2020 г., 03:14

¿Que puede hacer este bot? @picaibot Este Bot tiene una IA que hará una reconstrucción de una selfie que le envíes convirtiéndola en una obra de arte, como el ejemplo de la foto. Idioma: #Ruso#Ingles #IA#Selfie#Editor#Foto ( Visto en: @BotsGram_Cu )

BotsGram®

@botsgram_cu · Post #3833 · 23.04.2021 г., 18:57

¿Que puede hacer este bot? @VoiceShazamBot Este bot reconoce la música de un mensaje de voz y carga la versión completa de la pista directamente en Telegram, le permite encontrar información sobre ella y también escucharla en Apple Music o YouTube. Idioma: #Ingles #Herramienta#Musica#Voz #Mensaje#Buscar ( Visto en: @BotsGram_Cu )