發表文章

葉可棠python,print,input,字串[::-1]

圖片
w3schools學習python vs code編寫python vs code編寫python程式碼 #乙班劉任昌2023/2/20 w3schools學python a = "乙班我就愛哈拉唬爛啊" #python不需要宣告變數 print(a) #python指令結束不需要; b = a[::-1] #這是python特有功能 print(b) c = a[2:7:] #字串a的0,1,2取,3,4,5沒有6 print(c) d =a[7:2:-1] print(d) a = input("輸入字串: ") print("原來字串: "+a) print("反向字串: "+a[::-1])

葉可棠.CSS.Borders.border-radius

The border-radius Property This property is used to add rounded borders to an element: Normal border Round border Rounder border Roundest border background-color: gray; border: 10px solid yellow; border-radius: 50px; padding: 5px; color: white; font-size: 3em; } 葉可棠.CSS.Borders.border-radius. 德 明 劉 任 昌 學習心得