题解 | #学生基本信息输入输出#

学生基本信息输入输出

http://www.nowcoder.com/practice/58b6a69b4bf943b49d2cd3c15770b9fd

info = input().split(";")
number,src = info[0],[float(i)+0.0001 for i in info[1].split(",")]
print("The each subject score of  No. {} is {:.2f}, {:.2f}, {:.2f}.".format(number,src[0],src[1],src[2]))
全部评论

相关推荐

7 1 评论
分享
牛客网
牛客企业服务