nums = [10, 20, 30, 40, 50, 60] sum = 0 avg = 2 # 以二數平均為例 lst = [] for i, elem...
import random fruit = ['apple', 'pear', 'peach', 'orange', 'peach'] print(rando...