题解 | #定制显示器#

定制显示器

https://www.nowcoder.com/practice/b0a788bcb021425f9391067fd2646b07

name = str(input())
age = int(input())
# print('Happy {}th birthday to {}!'.format(age,name))
# print(f'Happy {age}th birthday to {name}!')
print('Happy %dth birthday to %s!'%(age,name))

考验三种输出方式合理使用输出格式,寻找属于适合自己的方式,才是学习的乐趣

#输出的表达方法#
全部评论

相关推荐

09-18 14:55
门头沟学院 Java
点赞 评论 收藏
分享
真的很糟糕:不一定是你的问题,当然你也可以做的更好一些,继续投相信自己一定会有的
点赞 评论 收藏
分享
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务