range(start, stop, step)
作用:创建一个整数列表,多用于循环。
参数:三个(start(开始),stop(结束),step(步长))
备注:stop(结束)为必填参数
len(iterable)
作用:返回 iterable 长度
参数:可迭代对象(iterable)
备注:无
eval(string)
作用:执行一个字符串表达式,并返回表达式的值
参数:字符串(string)
备注:无
2024年08月07日
range(start, stop, step)
作用:创建一个整数列表,多用于循环。
参数:三个(start(开始),stop(结束),step(步长))
备注:stop(结束)为必填参数
len(iterable)
作用:返回 iterable 长度
参数:可迭代对象(iterable)
备注:无
eval(string)
作用:执行一个字符串表达式,并返回表达式的值
参数:字符串(string)
备注:无