migration from cloud service

This commit is contained in:
2026-03-23 22:41:03 +08:00
commit e1d2d137c5
15 changed files with 283 additions and 0 deletions

12
week3/ex4.py Normal file
View 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()