# 求加法的函数defcal(s):if'+'in s:
s = s.split('+')
he =int(s[0])+int(s[1])return he
if'-'in s:
s = s.split('-')
cha =int(s[0])-int(s[1])return cha
if'*'in s:
s = s.split('*')
chenji =int(s[0])*int(s[1])return chenji
if'/'in s:
s = s.split('/')
shang =int(s[0])/int(s[1])return shang
# 传入字符串的算式print(cal("1+1"))print(cal("1-1"))print(cal("1*1"))print(cal("1/1"))# def chen(f):# if '*' in f:# f = f.split('*')# chenji = int(f[0]) * int(f[1])# return chenji## print(chen('4630202020209844849302020002020202020919921234567890*6636373728811010298837364545552551234567890'))# print(chen('3*3'))##
defxiaodi(money):if money <100:return"两手空空"elif money <1000:return"老人机"elif money <2000:return"小米米"elif money <5000:return"国产旗舰机"elif money <100000:return"苹果手机"*10elif money >100000000:return"小弟跑路了"print(xiaodi(5))print(xiaodi(100000000000000000000000000000000000000000000000))
shouji = xiaodi(4000)print(shouji)
a ='123'
b =int(a)print(b+1)