ChatCrawlersearch across public Telegram Open the app
P

Python

сообщение · 2025-10-28 15:59 UTC
B
Replymessage unavailable
wanna know why?? at line 68-73 you are checking that condition before adding the book first time you add the book length of borrowed books increases => 1 secomd time you add it becomes => 2 third time it becomes => 3 when fourth time you add the book, your condition checks if the length of borrowed books is *higher* than 3, but currently the length is 3 right now, so it adds the 4th book as well and length becomes => 4, but next time when try to add, the condition catches you and dosent let you add more. you should change that condition to either len(borrowed_books) == 3 or len(borrowed_books) >= 3

Вся лента · оригинал в Telegram

Open in Telegram Каталог площадок Искать в ChatCrawler

A snapshot of an open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog