Mar-06-2020, 03:11 AM
company_name=('ADBL','NABIL') for page in company_name: url2= 'https://login.systemxlite.com/equity/{}'.format(page)This is the beginning of the code and few mathematical operators and codes follow. What I want to know is how does it print the company name sequentially as the extraction and calculation goes on? For instance:
print(f'{company_name}','Overvalued:',NAV)this gets me:
Output:('ADBL', 'NABIL') Overvalued: 0.0007628829247572596
('ADBL', 'NABIL') Overvalued: 0.0002816287922140694
But what I want is :'ADBL' Overvalued: 0.0007628829247572596
'NABIL' Overvalued: 0.0002816287922140694
Thank you so much.