Some of the examples you provide are much simpler than the questions.
planned
Shane.yan
For example, you provide a brief explanation of how to complete a coding exercise and but the actual exercise is much harder than expected. It makes it very difficult for a beginner. Your tasks need to be simpler or at least be at the same level as the examples provided. Take this answer for example: def calc_price(power): if power <= 300: price_cent = power
9.5 elif power <= 1000: price_cent = 300
9.5 + (power - 300) 5.5 else: price_cent = 300
9.5 + (1000 - 300) 5.5 + (power - 1000)
4 price_dollar = price_cent / 100 return price_dollar print(calc_price(1120)) Nowhere in the example did you show how to convert the price_dollar from price_cent in the actual question on coding. How on earth is a beginner meant to know this when you provided no guideance.Shane.yan
planned