题解 | #定制显示器#

定制显示器

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))

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

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

相关推荐

03-18 17:22
门头沟学院 Java
代码飞升:海投就完了,别管评论区那个sbb卖课的
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务