劉任昌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])
https://www.blogger.com/blog/post/edit/2902395579050563771/6052322007453731608
回覆刪除作者已經移除這則留言。
回覆刪除https://1dth36.blogspot.com/2023/02/pythonprintinput-1.html
回覆刪除https://chenyuhung123.blogspot.com/2023/02/pythonprintinput-1.html
回覆刪除https://d11117328.blogspot.com/2023/02/pythonprintinput-1.html
回覆刪除https://kuanhtml-css-javascript-java.blogspot.com/2023/02/pythonprintinput-1.html
回覆刪除https://hsuppppp.blogspot.com/2023/02/pythonprintinput-1.html
回覆刪除https://tinggggggggggg.blogspot.com/2023/02/pythonprintinput-1.html
回覆刪除https://xylia-lin.blogspot.com/2023/02/pythonprintinput-1.html
回覆刪除https://ling-cls.blogspot.com/2023/02/pythonprintinput-1.html
回覆刪除https://purplefish-ouo.blogspot.com/2023/02/pythonprintinput-1.html
回覆刪除https://chen-yu-hsi.blogspot.com/2023/02/pythonprintinput-1.html
回覆刪除https://danny1219.blogspot.com/2023/02/pythonprintinput-1.html
回覆刪除https://sandy-html-css-javascript.blogspot.com/2023/02/pythonprintinput-1.html
回覆刪除https://eric-young92.blogspot.com/2023/02/pythonprintinput-1.html
回覆刪除https://steven0918.blogspot.com/2023/02/pythonprintinput.html
回覆刪除https://erichtml-css-javascript-java.blogspot.com/2023/02/pythonprintinput-1.html
回覆刪除https://michael-hou.blogspot.com/2023/02/pythonprintinput-1.html
回覆刪除https://www.blogger.com/blog/post/edit/8098460896125661899/826907011438377733
回覆刪除https://tonyzhuang1.blogspot.com/2023/02/pythonprintinput-1.html
回覆刪除https://liaoyongruei.blogspot.com/2023/02/pythonprintinput-1.html
回覆刪除https://www.blogger.com/blog/post/edit/3109934186771125311/5034772860569976304
回覆刪除作者已經移除這則留言。
回覆刪除https://d11117331.blogspot.com/2023/02/blog-post.html
回覆刪除https://d11117310.blogspot.com/2023/02/pythonprintinput-1.html
回覆刪除https://11117312.blogspot.com/2023/05/pythonprintinput-1.html
回覆刪除