def my_statswith():
my_startswith = 'Thailand'
check = True
word = 'Sun'
count = 0
if(len(my_startswith) > len(word)):
while(count < len(word)):
if(my_startswith[count] == word[count]):
check = True
else:
check = False
count = count + 1
return check
print(my_statswith())
ไม่มีความคิดเห็น:
แสดงความคิดเห็น