Student1 = [10002726,'Gates William ','Graded']
Student2 = ["10002345","Tanaka","Teddy","Graded"]
Student3 = ["10006789","Jonea","Bridget","Pass/No Pass"]
Student4 = ["10011111","Ramirez","Serena","Graded"]
Student5 = ["10002323","Hanks","Tim","Graded"]
Student6 = ["10003738","Perez","Cecelia","Graded"]
Student7 = ["10002222","Bok","Sisely","Graded"]
Student8 = ["10009856","Whitcomb","Witney","Graded"]
Student9 = ["10008888","Chen","Sam","Pass/No Pass"]
Student10 = ["10003562","Bok","Sisely","Graded"]
print(Student1)
print(Student2)
print(Student3)
print(Student4)
print(Student5)
print(Student6)
print(Student7)
print(Student8)
print(Student9)
print(Student10)
运行后,如何在运行屏幕中删除""
?
答案 0 :(得分:0)
print(''.join(Student1).strip('"'))