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
5 odpowiedzi
+ 1
Show your approach and explicit questions, then we can help.
Just begging for codes does not help in the long run
+ 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.
+ 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
0
I know if i know it i will try it many times
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