请问到四行的c是什么意思呢?
c就是你输入字符串中遍历的每个字符例如:
s=input() for c in s: print(c)
看来是个新新手
比如s="dhoqwe"那么c在循环中分别等于'd','h','o','q','w','e'