Open PandaWhoCodes opened 3 years ago
the same for any same line that performs the same function but with different data
filee.write(f'Total External links: {len(external)}\n')
filee.write(f'Total Internal links: {len(internal)}\n')
filee.write(f'Total links: {len(external) + len(internal)}\n')
Great! Thanks a lot for your input!
On Tue, Nov 3, 2020, 4:21 PM Thomas Ashish Cherian notifications@github.com wrote:
the same for any same line that performs the same function but with different data
filee.write(f'Total External links: {len(external)}\n') filee.write(f'Total Internal links: {len(internal)}\n') filee.write(f'Total links: {len(external) + len(internal)}\n')
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pavit939/Web_Scrapping/issues/2#issuecomment-721042470, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJRU7KB2LJXN7F2VIPSEIJTSN7OCJANCNFSM4TISXNEA .
Use loops or functions wherever possible