Python基础(条件判断)
# age = 103 # if age < 90: # print('%s小于90' %age) # elif age > 90 and age < 95: # print('%s大于90小于95' %age) # else: # print('%s大于100' %age) # num = input('请输入一个数字:') # formatNum = int(num) # if formatNum > 100: # print('你输入的数字大于100') # else: # print('你输入的数字小于100') # print('你输入的数字是%s' %num) height = float(input('请输入身高:')) weight = float(input('请输入体重:')) num = '%.1f' %(weight/(height*height)) bmi = float(num) print(bmi) if bmi < 18.5: print('低于18.5:过轻') elif bmi < 25 and bmi > 18.5: print('18.5-25:正常') elif bmi < 28 and bmi > 25: print('25-28:过重') elif bmi < 32 and bmi > 28: print('28-32:肥胖') elif bmi > 32: print('高于32:严重肥胖')
https://edu.51cto.com/lecturer/11857712.html 星星课堂web前端系列课程
https://edu.51cto.com/course/25959.html js设计模式课程
https://edu.51cto.com/course/23133.html js进阶与组件化实战课程
https://edu.51cto.com/course/24757.html jquery课程
https://edu.51cto.com/course/22392.html js基础与入门课程
https://edu.51cto.com/course/26063.html vue零基础入门课程
https://edu.51cto.com/course/22393.html xhtml与css基础入门课程