w6作業

40423110余浩鋼

影片大綱

print("i have {0:d}cats".format(6))輸出i have 6 cats

print("i have {0:3d}cats".format(6))輸出 i have 6 cats

print("i have {0:03d }cats".format(6))輸出i have 006 cats

print("i have {0:f}cats".format(6))輸出i have 6.000000 cats

print("i have {0:.2f}cats".format(6))輸出喔i have 6.00 cats

影片心得

salary = input("please enter your salary") bouns = input("please enter your bouns") paycheckAmount = salary + bouns print(paycheckAmount)

上課心得

這禮拜老師在github上創建了一個班上的群組,每個人可以將自己的作業gitpush到上面

自評

分數:60分