题解 | 格式化输出(一)

格式化输出(一)

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

import sys

name=input()
# print("I am %s and I am studying Python in Nowcoder!"%name)
# print("I am {} and I am studying Python in Nowcoder!".format(name))
print(f"I am {name} and I am studying Python in Nowcoder!")

全部评论

相关推荐

08-28 20:36
门头沟学院 Java
点赞 评论 收藏
分享
08-27 12:02
已编辑
南京外国语学校 网络安全
再来一遍:实则劝各位不要all in华子,不要相信华为hr
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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