Python Programming
Tuesday, May 10, 2011
9. การลบตัวแปร (Deleting Variable)
เมื่อเราใช้ตัวแปรเสร็จแล้วและไม่ต้องการนำมาใช้ซ้ำอีกเราจะใช้คำสั่ง
del
ตัวแปร
หรือ
del
ตัวแปร
1,
ตัวแปร
2
ตัวอย่าง
del x,y,z
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment