+ 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

17th Nov 2017, 7:48 AM
Justine Ogaraku
Justine Ogaraku - avatar
11 ответов
17th Nov 2017, 7:59 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 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." """
17th Nov 2017, 7:49 AM
Justine Ogaraku
Justine Ogaraku - avatar
+ 6
😁😁Nice. Congrats
17th Nov 2017, 8:03 AM
Justine Ogaraku
Justine Ogaraku - avatar
+ 5
write your code and post it
17th Nov 2017, 7:54 AM
Justine Ogaraku
Justine Ogaraku - avatar
+ 5
@pagasus change that 'lines' in your output to paragraphs
17th Nov 2017, 8:01 AM
Justine Ogaraku
Justine Ogaraku - avatar
+ 5
Done!
17th Nov 2017, 8:02 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 5
Not a hard one!
17th Nov 2017, 8:04 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 5
I'll post other ones later. Hope it would be tasking. Will you accept them??
17th Nov 2017, 8:05 AM
Justine Ogaraku
Justine Ogaraku - avatar
+ 5
Yes. Try mine BTW: https://www.sololearn.com/discuss/729467/?ref=app A really really hard one
17th Nov 2017, 8:07 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 4
Yah. My first challenge
17th Nov 2017, 8:04 AM
Justine Ogaraku
Justine Ogaraku - avatar
+ 4
23rd Nov 2017, 9:39 AM
Justine Ogaraku
Justine Ogaraku - avatar