题解 | #输出学生信息#
输出学生信息
http://www.nowcoder.com/practice/8e94458049eb4e838f711bbd1be0045e
输出
print("{}{:4}{}{:4}{}".format("Name","","Age","","Gender"))
print("{}".format("-"*21))
print("{}{:4}{}{:5}{}".format("Jack","","18","","man"))
输出学生信息
http://www.nowcoder.com/practice/8e94458049eb4e838f711bbd1be0045e
输出
print("{}{:4}{}{:4}{}".format("Name","","Age","","Gender"))
print("{}".format("-"*21))
print("{}{:4}{}{:5}{}".format("Jack","","18","","man"))
相关推荐