PROGRAMMING FUNDAMENTAL
วันอาทิตย์ที่ 4 ตุลาคม พ.ศ. 2558
[LAB5] my_find()
def my_find():
my_find = "Thailand"
count = 0
index = count
while(count < len(my_find)):
if(my_find[count] == "i"):
index = count
count = count + 1
return index
print(my_find())
ไม่มีความคิดเห็น:
แสดงความคิดเห็น
บทความใหม่กว่า
บทความที่เก่ากว่า
หน้าแรก
สมัครสมาชิก:
ส่งความคิดเห็น (Atom)
ไม่มีความคิดเห็น:
แสดงความคิดเห็น