python基础(下)-条件,循环

条件判断 循环 函数 类 条件判断 if condition: do somthing else: do somthingpython total_cost = 22 if total_cost > 30: discount = 0.9 else: discount = 1 total_cost *=discount print('实际花费:{}'.format(tota
相关文章
相关标签/搜索