โค้ด: เลือกทั้งหมด
list1 = ["Mindphp", "test", 10, 20]
list2 = [10, 20, 30, 40]
print (len(list1))
print (len(list2))
print (list1 + list2)
print (list1 * 2)
print ("test" in list2)
for a in list1:
print (a)
Moderator: mindphp, ผู้ดูแลกระดาน
โค้ด: เลือกทั้งหมด
list1 = ["Mindphp", "test", 10, 20]
list2 = [10, 20, 30, 40]
print (len(list1))
print (len(list2))
print (list1 + list2)
print (list1 * 2)
print ("test" in list2)
for a in list1:
print (a)
สมาชิกกำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และบุคลทั่วไป 6