The for statement is used when you know how many times you want to execute a statement or a list of statements.

 
  • 如果你知道一段代码需要循环执行的次数,用for语句。
今日热词
目录 附录 查词历史