12 lines
288 B
Python
12 lines
288 B
Python
def main():
|
|
totalMoney = 1000
|
|
quantity = 3
|
|
price = 450
|
|
|
|
print('==Exercise 4==')
|
|
print('I have {0} dollars so I can buy {1} football for {2:.2f} dollars.'.format(totalMoney,quantity,price))
|
|
print('==End Of Ex4==')
|
|
return 0
|
|
|
|
if __name__ == '__main__':
|
|
main() |