migration from cloud service
This commit is contained in:
12
week3/ex4.py
Normal file
12
week3/ex4.py
Normal file
@@ -0,0 +1,12 @@
|
||||
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()
|
||||
Reference in New Issue
Block a user