创建多行字符串的方式 prompt = ‘this is the first row’ prompt += ‘/nthis is the second row.’ 退出循环 立即退出while循环,不再运行循环中余下的代码,用break; 返回到循环开头,并根据条件测试结果决定是否继续执行循环,用continue. 来源:CSDN作者:qq_38122800链接:https://blog.csdn.net/qq_38122800/article/details/104104467 标签 qq