我试着把这个提交到我的编程实验室,其他的都是正确的,但它希望我删除这个似乎不存在的空白。
num_males = int(input('Enter number of males:'))
num_females = int(input('Enter number of females:'))
total_students = num_males + num_females
percent_male = num_males * 100 / total_students
percent_female = num_females * 100 / total_students
print('Percent males: {:.0f}%' .format(percent_male)**X**,
'\nPercent females: {:.0f}%' .format(percent_female))
十