0
点赞
收藏
分享

微信扫一扫

python输入输出详情

九点韶留学 2022-07-12 阅读 30
# 输入单个参数
# a = input("input params : ")
# print(type(a))

# 输入多个值、
# b,c,d = input("please input a triangle side length : ").split();
# b = int(b)
# c = int(c)
# d = int(d)
# print("the triangle Perimeter is : %d"%(b+c+d))


s = input("please input a string ")
print("the sentence is %s "%s)


举报

相关推荐

0 条评论