摘要:
# names=['OBOS','age','Alice']# l=[]# for name in names:# name=name.upper()# l.append(name)## print(l) # ['OBOS', 'AGE', 'ALICE']## names=['OBOS','age 阅读全文
posted @ 2019-12-06 20:52
OBOS
阅读(130)
评论(0)
推荐(0)
摘要:
# 三元表达式# def my_max(x,y):# if x >= y:# return x# else:# return y## res=my_max(1,2)# print(res) # 2# x=10# y=20# res=x if x >= y else y## print(res) # 阅读全文
posted @ 2019-12-06 20:51
OBOS
阅读(239)
评论(0)
推荐(0)

浙公网安备 33010602011771号