elif score >= 75: g = 'B' else: g = 'B-' grade.append(g) for i in range(len(grade)): print(scores[i],grade[i]). 執⾏迴圈命令N次. 將隨機產⽣的分數附加在串.
確定! 回上一頁