Computer Fundamental
วันอาทิตย์ที่ 4 ตุลาคม พ.ศ. 2558
my_find
def setup():
my_find = 'thailand'
i = 0
findi = i
while (i < len(my_find)):
if ('i' == my_find[i]):
findi = i
i = i+1
print(findi)
assert (findi == 3)
setup()
ไม่มีความคิดเห็น:
แสดงความคิดเห็น
บทความใหม่กว่า
บทความที่เก่ากว่า
หน้าแรก
สมัครสมาชิก:
ส่งความคิดเห็น (Atom)
ไม่มีความคิดเห็น:
แสดงความคิดเห็น