1,Python 没有自增运算符
2,字符串用+连接,用[]分割
x="hello,world"
x=x[:2]+'python'+x[2:]
print(x)
3, 逻辑运算如下,注意True False 大写
x=True
y=False
print(x or y)
print (x and y)
print(not x)
4,string 转 int
c=input()
if c.isdigit():
print(int(c)+1)