experienced developers and Python experts.
I'm just learning Python.
number = ['No.', 1 , 2 , 3 , 4 , 5 , 6]
company =['Company' , 'Microsoft' , 'Amazon' , 'Paypal' , 'Apple' , 'Fastly' , 'Square']
cap = ['Cap' , 'Mega' , 'Mega' , 'Large' , 'Large' , 'Mid' , 'Mid']
qty = ['Qty', '100' , '5' , '80' , '100' , '30' , '30']
bought_price = ['Bought Price' , '188' , '1700' , '100' , '60' , '40' , '40']
market_price = ['Market Price' , '207' , '3003' , '188' , '110' , '76' , '178' ]
for a,b,c,d,e,f in zip(number, company, cap,qty,bought_price, market_price ):
print(a, '\t' , b , '\t' , c , '\t' , d , '\t' , e , '\t' , f)
output:
No. Company Cap Qty Bought Price Market Price
1 Microsoft Mega 100 188 207
2 Amazon Mega 5 1700 3003
3 Paypal Large 80 100 188
4 Apple Large 100 60 110
5 Fastly Mid 30 40 76
6 Square Mid 30 40 178
Please help me figure out what I did wrong.