【发布时间】:2020-03-02 12:53:10
【问题描述】:
只是在这里询问是否有人可以回答这个问题。这是一个学校实验室,我不太了解它,我正在休假,所以我不能问我的老师哈哈。 Python。
Create a list of 10,000 random numbers from 1 to 6. This should take one line of code. Use the function you created earlier in the lab.)
Print the count of 1 through 6. (That is, print the number of times 1 appears in the 10,000. And then do the same for 2-6.)
Print the average of all 10,000 random numbers.
尝试使它对高中编码友好。谢谢。
【问题讨论】:
-
谷歌“随机整数 python”。
-
我猜你错过了之前必须亲自去实验室的部分。我认为我们无能为力。
-
不是物理实验室。这是计算机编程哈哈。
标签: python