python如何遍历字符串?下面给大家介绍四种方法:
1、第一种方式,for in
girl_str = "love You" for everyChar in girl_str: print (everyChar) l o v e Y o u