黃冠霖LIST清單DICT字典RANDOM模組

#註解黃冠霖學過python
import random
x = [ i for i in range(10)]
print('產生清單',x)
y ={}
for i in x:
   y[i]=random.random()
print(y)
for i in y:
   print(i, y[i])
  

评论

  1. https://gary20010101.blogspot.com/2025/06/blog-post_26.html
    https://gary20010101.blogspot.com/2025/06/pythoncsvtkintermarkowitz.html
    Markowitz.https://gary20010101.blogspot.com/2025/06/blog-post_21.html
    https://gary20010101.blogspot.com/2025/06/listdictrandom.html

    回复删除

发表评论

此博客中的热门博文

衍生性商品風險管理

程式碼註解

期貨業務員2025年考試power錄製螢幕