diff --git a/diy1.py b/diy1.py index f2ff435..0cc11ef 100644 --- a/diy1.py +++ b/diy1.py @@ -1,3 +1,3 @@ str="傻逼他妈的咱们一起厕所干饭" -for x in str: - print(x) \ No newline at end of file +for x in range(len(str)): + print(str[i]) \ No newline at end of file