py(9/20)
九月 20, 2023
python隨堂筆記
//表示int整除- Symtax Errors語法錯誤
ex:
- Runtime Errors

- logic Errors
- python是物件導向程式語言

- string slices
s="example"[1:3]則s=xa - string find
ans=s.find('x')則ans=1 - string每個字元有兩個index
ex:
應用:
- python print預設
end為\n
查看评论