student1 = ['2021001', '李晓红', '女', '19', '2021级软件4班', '软件技术', '人工智能与大数据学院', '15945456780'] student2 = ['2021002', '王晓刚', '男', '18', '2021级软件4班', '软件技术', '人工智能与大数据学院', '13890904567'] student3 = ['2021003', '唐雨涵', '女', '19', '2021级软件4班', '软件技术', '人工智能与大数据学院', '18878789023'] student4 = ['2021004', '张三丰', '男', '18', '2021级大数据1班', '大数据技术', '人工智能与大数据学院', '15945456780'] student5 = ['2021005', '肖雨林', '男', '18', '2021级大数据1班', '大数据技术', '人工智能与大数据学院', '18890904560'] student6 = ['2021006', '郑小翠', '女', '19', '2021级大数据1班', '大数据技术', '人工智能与大数据学院', '15890904567'] students = [] students.append(student1) students.append(student2) students.append(student3) students.append(student4) students.append(student5) students.append(student6) print(students) print() for student in students: for i in range(len(student)): print(student[i], end=' ') print()
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)