def ad_jump(result): ret="" if(result["jump_power"]["level"]==3): ret=ret+"Need to do more to promote leg muscle strength. " elif(result["jump_power"]["level"]==4): ret="The leg muscle is weak and the position needs to be improved. " if(result["core_strength"]["level"]==3): ret=ret+"The core strength need to be improved. " elif result["core_strength"]["level"]==4: ret=ret+"More practice to do to promote the core strength. " if(result["landing_position"]["level"]==3): ret=ret+"The landing position is not standard enough. Take some practice on the leg. " elif result["landing_position"]["level"]==4: ret=ret+"The landing position is far from standard, see some relavant video to correct posture. " if(ret==""): ret="The jump is good and keep it!" return ret def ad_juanfu(result): ret="" if(result["head_power"]["level"]==3): ret=ret+"Need to do more to promote head muscle strength. " elif(result["head_power"]["level"]==4): ret="The neck and abdominal muscles are weak and the position needs to be improved. " if(result["core_strength"]["level"]==3): ret=ret+"The core strength need to be improved.See some relavent video to promote it. " elif result["core_strength"]["level"]==4: ret=ret+"More practice to do to promote the core strength. " if(result["body_stability"]["level"]==3): ret=ret+"The body_stability is not enough. Take some practice on the leg. " elif result["body_stability"]["level"]==4: ret=ret+"The body_stability is far from standard, see some relavant video to correct posture . " if(ret==""): ret="The abdominal campaign is good and keep it!" return ret def ad_pingban(result): ret="" if(result["arm_strength"]["level"]==3): ret=ret+"Need to do more to promote arm muscle strength. " elif(result["arm_strength"]["level"]==4): ret="The forearm strength are inadequate and the position needs to be improved. " if(result["stability"]["level"]==3): ret=ret+"The core strength need to be improved.Try to lengthen duration time and frequency. " elif result["stability"]["level"]==4: ret=ret+"More practice to do to promote the stability . " if(result["standard"]["level"]==3): ret=ret+"Plank movements are less than standard and require more straight leg support. " elif result["standard"]["level"]==4: ret=ret+"The body posture is far from standard ,see the standard video and improve leg strength. " if(ret==""): ret="Plank moves are fine, and your goal is to maximize your endurance!" return ret def ad_shendun(result): if(result["leg_strength"]["level"]==1): return "The posture is good and remember to enhance endurance. " elif result["leg_strength"]["level"]==2: return "Try a wider squat." elif result["leg_strength"]["level"]==3: return "Squat range is far from enough, more practice thigh strength. " else: return "Check out some video to learn about standard postures and work on your thigh and calf muscles" def ad_gaotaitui(result): if(result["standard"]["level"]==1): return "The posture is good and remember to enhance endurance. " elif result["standard"]["level"]==2: return "Try to elevate your thighs to increase intensity. " elif result["standard"]["level"]==3: return "High leg lift is not enough, more practice thigh strength. " else: return "Check out some video to learn about standard postures and work on your thigh and calf muscles"