# INPUT DATA
data = [(1000, 10), (2000, 17), (2500, 170), (2500, -170),]

print('Revenue | PROFIT | PERCENT')

TEMPLATE = '{revenue:>7,} | {profit:>+7} | {percent:>7.2%}'

for revenue, profit in data: 
    row =TEMPLATE.format(revenue=revenue, profit=profit, percent=profit / revenue)
    print(row)