for循环中'I'的含义 [英] Meaning of 'I' in for loop

查看:475
本文介绍了for循环中'I'的含义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题是:'我'在for循环中表示什么?



我尝试了什么:



引用了多个来源但无法找到答案。

My question is: what does 'i' denote in for loop?

What I have tried:

Referred multiple sources but couldn't find the answer for it.

推荐答案

Python3教程:循环 [ ^ ]



它是一个保存循环迭代当前值的变量。
Python3 Tutorial: For Loops[^]

Its a variable that holds the current value of the loop iteration.


这篇关于for循环中'I'的含义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆