小编use*_*529的帖子

使用循环查找列表中的最大数字

所以我有这个列表和变量:

nums = [14, 8, 9, 16, 3, 11, 5]

big = nums[0]

spot = 0
Run Code Online (Sandbox Code Playgroud)

我对如何实际做到这一点很困惑.请帮忙!我是Python新手,我想用这个练习给我一个启动器.我想从Scratch或BYOB中的"重复列表长度"开始,但是如何在Python上执行此操作?

python variables loops list max

4
推荐指数
3
解决办法
3万
查看次数

标签 统计

list ×1

loops ×1

max ×1

python ×1

variables ×1