#!/usr/bin/python str = "this is string example....wow!!!"; print str.startswith( ‘this‘ ); print str.startswith( ‘is‘, 2, 4 ); print str.startswith( ‘this‘, 2, 4 );
python之判断字符串以何关键字开头
原文:https://www.cnblogs.com/mollyliu/p/14954055.html