+ 10
[CHALLENGE. LETS DO IT]😁😠
Write a program that counts the number of paragraphs in a note or passage of whatever /string. Here's my code. https://code.sololearn.com/czqGK43AFC2x/?ref=app You can ask user for input
11 ответов
+ 7
This is the string I used :
note = """
Cristiano Ronaldo says he wants to have seven children and win the same number of Ballons d'Or.
The Real Madrid star recently had his fourth child, and is expected to win his fifth Ballon d'Or when the award is announced next month.
But the 32-year-old has still come in for recent criticism, as his return of one goal in seven La Liga matches this season is far below his usual output.
In an interview with L'Equipe, Ronaldo said he is staying calm after his slow start to the league campaign, insisting he can contribute more to his team than just goals.
"I'm happy and I feel good, you have to stay calm and keep working, because you can obviously do better," Ronaldo said.
Looking farther ahead, the Portugal star said he still has plenty more he'd like to achieve – both on the pitch and off.
"I want seven children and the same number of Ballons d'Or," Ronaldo said.
"That means that I do not intend to stop there. As long as I play, I will win all I can win."
"""
+ 6
😁😁Nice. Congrats
+ 5
write your code and post it
+ 5
@pagasus change that 'lines' in your output to paragraphs
+ 5
Done!
+ 5
Not a hard one!
+ 5
I'll post other ones later. Hope it would be tasking.
Will you accept them??
+ 5
Yes.
Try mine BTW:
https://www.sololearn.com/discuss/729467/?ref=app
A really really hard one
+ 4
Yah. My first challenge
+ 4
@pagasus try this challenge :
https://www.sololearn.com/discuss/876277/?ref=app
And I want you to converse here:
https://www.sololearn.com/discuss/876094/?ref=app