1 + 2 + 3*5/10 + 2**3
(not 1) or (0 and 1) or (3 and 4) or (5 and 6)or (7 and 8 and 9)
str =“abc”
c=len(str)
for i in range(0,c):
print(str[i].upper(),end=" ")
s="abcdefg"
c=len(s) #len求字符串长度
for i in range(0,c):
if i<2:
print (chr(ord(s[i])+2),end=" ") #ord()函数是chr()函数配对函数,将字符转ASCII值
else:
print(chr(ord(s[i]) + 3),end=" ")