-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reto #0 con Python by DamonCDB #31
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mouredev
requested changes
Jan 2, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hola. Revisa las reglas de subida. El nombre del directorio del lenguaje debe estar en minúsculas. Un saludo.
ShinMugenNoKabe
added a commit
to ShinMugenNoKabe/retos-programacion-2023
that referenced
this pull request
Jul 31, 2023
ShinMugenNoKabe
added a commit
to ShinMugenNoKabe/retos-programacion-2023
that referenced
this pull request
Jul 31, 2023
ShinMugenNoKabe
added a commit
to ShinMugenNoKabe/retos-programacion-2023
that referenced
this pull request
Jul 31, 2023
kontroldev
added a commit
to kontroldev/retos-programacion-2023
that referenced
this pull request
Jul 31, 2023
kontroldev
added a commit
to kontroldev/retos-programacion-2023
that referenced
this pull request
Jul 31, 2023
jmmenah
added a commit
to jmmenah/retos-programacion-2023
that referenced
this pull request
Jul 31, 2023
s0alken
added a commit
to s0alken/retos-programacion-2023
that referenced
this pull request
Jul 31, 2023
Hugovrc
added a commit
to Hugovrc/retos-programacion-2023
that referenced
this pull request
Aug 1, 2023
jcdm60
added a commit
to jcdm60/retos-programacion-2023
that referenced
this pull request
Aug 1, 2023
jcdm60
added a commit
to jcdm60/retos-programacion-2023
that referenced
this pull request
Aug 1, 2023
Othamae
added a commit
to Othamae/retos-programacion-2023
that referenced
this pull request
Aug 1, 2023
PisanoWP
pushed a commit
to PisanoWP/retos-programacion-2023
that referenced
this pull request
Aug 1, 2023
gonsomito
added a commit
to gonsomito/retos-programacion-2023
that referenced
this pull request
Aug 1, 2023
En resumen, el código verifica que los elementos de la lista sean válidos, realiza cálculos basados en las condiciones especificadas y devuelve un resultado o mensaje apropiado dependiendo de las circunstancias. 1. Se importa el módulo `re` para trabajar con expresiones regulares. 2. La función `abaco` toma una lista llamada `cuentas` como entrada. 3. Se verifica que cada elemento en la lista contenga solo "O" o "---". 4. Si algún elemento no cumple con la verificación, se devuelve "El ábaco está roto." 5. Si todos los elementos pasan la verificación, se procede a realizar el cálculo del total. 6. Se recorre cada elemento en la lista y se verifica su longitud. 7. Si la longitud es igual a 12, se divide el elemento en trozos utilizando `'---'` como separador. 8. Se agrega la longitud del primer trozo al total. 9. Si la longitud no es igual a 12, significa que el ábaco está roto y se devuelve el mensaje correspondiente. 10. Finalmente, se devuelve el total convertido a entero. 11. Se crea una lista de ejemplo llamada `alambritos`. 12. Se llama a la función `abaco` pasando `alambritos` como argumento e imprime el resultado.
AnNavNicolas
added a commit
to AnNavNicolas/retos-programacion-2023
that referenced
this pull request
Aug 1, 2023
Solución reto 31 en java
marchdz
added a commit
to marchdz/retos-programacion-2023
that referenced
this pull request
Aug 12, 2023
magdielina
added a commit
to magdielina/retos-programacion-2023
that referenced
this pull request
Aug 13, 2023
arielposada
added a commit
to arielposada/retos-programacion-2023
that referenced
this pull request
Aug 25, 2023
JSilvaH
added a commit
to JSilvaH/retos-programacion-2023
that referenced
this pull request
Aug 26, 2023
kontroldev
added a commit
that referenced
this pull request
Aug 26, 2023
Retos/Reto #31/kotlin/JSilvaH.kt
Cesar-Ch
added a commit
to Cesar-Ch/retos-programacion-2023
that referenced
this pull request
Aug 30, 2023
flaviovich
added a commit
to flaviovich/retos-programacion-2023
that referenced
this pull request
Sep 21, 2023
marcode24
added a commit
to marcode24/retos-programacion-2023
that referenced
this pull request
Oct 4, 2023
deathwing696
added a commit
to deathwing696/retos-programacion-2023
that referenced
this pull request
Oct 13, 2023
marcoatrs
added a commit
to marcoatrs/retos-programacion-2023
that referenced
this pull request
Oct 14, 2023
patriciotrujilllo
added a commit
to patriciotrujilllo/retos-programacion-2023
that referenced
this pull request
Oct 18, 2023
rokmanhaman
added a commit
to rokmanhaman/retos-programacion-2023
that referenced
this pull request
Nov 24, 2023
giovanyosorio
added a commit
to giovanyosorio/retos-programacion-2023
that referenced
this pull request
Dec 12, 2023
kontroldev
added a commit
that referenced
this pull request
Dec 13, 2023
TiagoAlvarezSchiaffino
added a commit
to TiagoAlvarezSchiaffino/retos-programacion-2023
that referenced
this pull request
Dec 26, 2023
treber
added a commit
to treber/retos-programacion-2023_eberth
that referenced
this pull request
Mar 20, 2024
Merged
Javierfiestasbotella
added a commit
to Javierfiestasbotella/retos-programacion-2023
that referenced
this pull request
Apr 15, 2024
lc-empty
added a commit
to lc-empty/retos-programacion-2023
that referenced
this pull request
Jun 12, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.