0

I want this code plz

Creat a function that takes a list of grades as a parameter, if the grade is <100 and >0 increase the grade by 5 if not , skip the iteration after finishing return the list sort the list before increasing

30th Nov 2018, 4:51 PM
Uchiha ahmed
5 Answers
+ 1
Show your approach and explicit questions, then we can help. Just begging for codes does not help in the long run
30th Nov 2018, 5:00 PM
Matthias
Matthias - avatar
+ 1
Sure; that's normal. Many of us run our codes dozens of times, doing one thing at a time. As we get better that "one thing" gets bigger but we still run, verify, run again. If you're stuck at the beginning, you could start by asking, "how do I create a list?" and then "how do I send it to a function?" print(...) may be very helpful for confirming what you've learned so far.
30th Nov 2018, 5:54 PM
Kirk Schafer
Kirk Schafer - avatar
+ 1
Start with creating a function that takes a list as input an returns a list. Do the "fine grained" stuff always at the end. It's like a building where you first need a stable skeleton
30th Nov 2018, 11:00 PM
Matthias
Matthias - avatar
0
I know if i know it i will try it many times
30th Nov 2018, 5:02 PM
Uchiha ahmed
0
Ok i know how to creat a list and an if statment and print but the idea is hard for me i know all codes i need even creat a function but i cant put them all together
30th Nov 2018, 6:02 PM
Uchiha ahmed