题解 | #定制显示器#

定制显示器

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

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

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

相关推荐

练习生懒羊羊:开飞机把这个公司创飞吧
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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