8
>>> print 'there are {0:10} students and {1:10} teachers'.format(scnt, tcnt)
there are 100 students and 20 teachers
Điều gì sẽ là mã sao cho đầu ra trở thành:str.format() -> làm thế nào để biện minh cho trái
there are 100 students and 20 teachers
Cảm ơn.