1.创建一年级的3个班,并随机添加 10 名学生: >for(grade_index in (grade = ['grade_1_1', 'grade_1_2', 'grade_1_3'])) { hobbys=['draw', 'dance', 'running', 'sing', 'football', 'basketball', 'computer', 'python'] for (var i = 1; i <= 10; i++) { db[grade[grade_index]].ins…