python输入输出详情

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

上一篇:POJ 2954 Triangle [pick定理,叉积,计算几何]


下一篇:基于Python的文本共现网络构建