發表文章

目前顯示的是 3月, 2023的文章

svg練習

Sorry, your browser does not support inline SVG. 心得 svg程式碼 canvas程式碼 ol是order list順序清單, gt大於, lt小於前面加上&控制

方思涵w3schools字串str, format, slicing[::]

圖片
w3school練習 #方思涵 練習 b="apple" print('字串長度' + str(len(b))) print(b[::-1]) quantity = "巧克力" itemno = 3 price = "我" myorder = "他要吃 {} 吃{}個 ,和 {} 一起吃" print(myorder.format(quantity, itemno, price))