while循环中的语法错误 [英] Syntax error in a while loop
本文介绍了while循环中的语法错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的程序中暴力破坏数字的所有因素(不包括1),我的while循环中存在语法错误。代码看起来像这样。
展开 | 选择 | Wrap | 行号
解决方案
计算括号。
展开 | 选择 < span class =codeDivider> | Wrap | 行号
那么,你会按顺序推荐什么修复语法错误?
In my program to brute force all the factors (not including 1) of a number, there is a syntax error in my while loop. The code looks like this.
Expand|Select|Wrap|Line Numbers解决方案Count the parenthesis.
Expand|Select|Wrap|Line Numbers
So, what would you recommend in order to fix the syntax error?
这篇关于while循环中的语法错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文登录 关闭
扫码关注1秒登录发送“验证码”获取 | 15天全站免登陆