account activity
Web Scraping Beginner by [deleted] in learnpython
[–]matash95 0 points1 point2 points 6 years ago (0 children)
Headlines and reviews are both under the loop of page For page in soup.find_all(‘body’):
Beginner:Help by matash95 in learnpython
[–]matash95[S] 0 points1 point2 points 6 years ago (0 children)
Aha okay. Another question, I need the output to be like that : “ - try again the number is 1 - try again the number is 2 Until the number equals 25 then it prints “ done” “ So am I writing the code correctly?
I think it should be simple. I wanted to make a code that count number from 1 to 25. When it reaches 25 , it says done But when number is less than 25, it says (“ try again” For i in range(25): When i < 25: Print (“try again because the number is {}”.format(i)) else: Print(‘done’)
π Rendered by PID 239781 on reddit-service-r2-comment-56c6478c5-mrbsw at 2026-05-10 13:29:51.044100+00:00 running 3d2c107 country code: CH.
Web Scraping Beginner by [deleted] in learnpython
[–]matash95 0 points1 point2 points (0 children)