myCompiler myCompiler
Deutsch English Español Français Italiano 日本語 한국어 Nederlands Polski Português
Recent
Login Sign up
Recent
Login Sign up
C

@Codelaby

Reto: obtener la repetición de palabras en un texto en python

Python
3 years ago
import unicodedata from collections import Counter texto = "Este es un texto español de ejemplo! con algunos signos de puntuación. También tiene palabras en Mayúsculas y minúsculas, Estas deben ser contadas de igual manera." # Eliminar signos de puntuación texto_sin_puntuacion = unicodedata.normalize("NFC", texto) texto_sin_puntuacion = "".join([c for c in texto_sin_puntuacion if not unicodedata.combining(c)]) # Convertir a minúsculas

EnvetDateTimeZone

Python
3 years ago
# Event Date Time zone # Date: December 2022 # Author: Codelaby # Webpage: codelaby.es # Follow me: twitter @codelaby import datetime from dateutil.tz import gettz class RegionTZ:
Previous Next page

Supported languages

Deno JavaScript NodeJS Python Ruby Go C C++ Java C# TypeScript PHP Bash R Octave (MATLAB) Fortran Lua Erlang SQL MySQL MongoDB Clojure D Perl Kotlin Swift Rust Assembly
© 2026 mycompiler.io
Terms of service Privacy policy Contact us