-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from bs4 import BeautifulSoup | ||
import requests | ||
|
||
blockquotes = BeautifulSoup(requests.get( | ||
"https://holamundo.day").content).find_all("blockquote") | ||
|
||
for blockquote in blockquotes[21:]: | ||
print(blockquote.text) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Reto #19: Análisis de texto | ||
#### Dificultad: Media | Publicación: 11/05/23 | Corrección: 15/05/23 | ||
|
||
## Enunciado | ||
|
||
``` | ||
/* | ||
* Crea un programa que analice texto y obtenga: | ||
* - Número total de palabras. | ||
* - Longitud media de las palabras. | ||
* - Número de oraciones del texto (cada vez que aparecen un punto). | ||
* - Encuentre la palabra más larga. | ||
* | ||
* Todo esto utilizando un único bucle. | ||
*/ | ||
``` | ||
#### Tienes toda la información extendida sobre los retos de programación semanales en **[retosdeprogramacion.com/semanales2023](https://retosdeprogramacion.com/semanales2023)**. | ||
|
||
Sigue las **[instrucciones](../../README.md)**, consulta las correcciones y aporta la tuya propia utilizando el lenguaje de programación que quieras. | ||
|
||
> Recuerda que cada semana se publica un nuevo ejercicio y se corrige el de la semana anterior en directo desde **[Twitch](https://twitch.tv/mouredev)**. Tienes el horario en la sección "eventos" del servidor de **[Discord](https://discord.gg/mouredev)**. |