เรียนรู้การนับค่าKey index ในList

ตอบกระทู้

รูปแสดงอารมณ์
:icon_plusone: :like: :plusone: :gfb: :-D :) :( :-o 8O :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: :angry: :baa: :biggrin:
รูปแสดงอารมณ์อื่นๆ

BBCode เปิด
[img] เปิด
[url] เปิด
[Smile icon] เปิด

กระทู้แนะนำ
   

มุมมองที่ขยายได้ กระทู้แนะนำ: เรียนรู้การนับค่าKey index ในList

เรียนรู้การนับค่าKey index ในList

โดย khwanchanok » 22/05/2019 6:15 pm

ในList จะสร้างค่า Key แบบ Key Auto
สำหรับมือใหม่อาจจะยังไม่รู้ว่า Key จะเริ่มจาก 0 หรือ 1 มารู้กัน
สามารถดูลำดับค่า Key ได้จากรูปเลย
Selection_144.png
Selection_144.png (118.92 KiB) Viewed 333 times
ศึกษาข้อมูลเพิ่มเติมได้ที่
VDO : https://www.youtube.com/watch?v=1kH8jsP-0WU
วิธีการติดตั้ง Python Anaconda บน Windows 10
ความเป็นมาของ Python
ช่วงการทำงาน IF ในไพทอน Statement block if Statement Selection
เครื่องมือสำหรับเขียน ภาษา Python Editor

ข้างบน