【python】if判断、for循环、while循环练习题_python while if 题目-CSDN博客

网站介绍:文章浏览阅读1.8k次,点赞2次,收藏23次。1.if判断#1、根据你输入的数据,来进行判断学生的成绩,输入数据函数:input()score = float(input('score:'))if score >= 90: print('A')elif score >= 80: print('B')elif score >= 60: print('C')else: print('D')'''2、一家商场在降价促销,如果购买金额50-100元(包含50和100元)之间,会给10%的._python while if 题目