int()
และ จำนวนทศนิยม float()
bin()
เลขฐานสิบหกhex()
hello = str()
len(hello)
ถ้าความยาวเป็น 0 นั่นคือเป็นตัวแปร string เปล่าๆ นั่นเองfind()
strip()
split()
replace()
Hello, it's me. I was wondering if after all these years
เราสามารถใช้ escaped with backslashes (\n \r\n \t \0 \x) ใน python ได้ด้วยนะ
list.append()
list.extend([])
list.remove()
ข้างในใส่สมาชิกตัวที่เราต้องการจะลบlist.clear()
len(list)
fav_stock
True
กับ False
สรุป python ไม่ต้องประกาศตัวแปรให้วุ่นวาย เช่น uint8 i = 0;
งี้ แค่ใส่ค่าไปเลย เช่น i = 0
จบ