python输入输出详情

阅读 31

2022-07-12

# 输入单个参数
# 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)

0 0 举报