New course! Every coder should learn Generative AI!
Try a free lesson+ 7
prasad jagdale even the worsest start is better than none.
After getting input just check if grade is A.
As a beginner just do ONE aspect.
Understanding will come with coding.
+ 5
Hi prasad jagdale no one has a code for a new problem, you have to write one. So please do it and come back. You just need an if else ladder.
+ 4
Fun fact: the Python documentation of the bisect function has a sample code for the exact same problem. :)
However if you are a beginner, you should come up with a simpler solution on your own.
https://docs.python.org/3/library/bisect.html
+ 3
a case for if....elif
+ 2
Ok Avinesh will paste here in sometime .
+ 2
Okay Tibor santa , Indeed I am a beginner and will try to come up with a simpler code .
+ 1
Thanks a lot Abhay bro
0
prasad jagdale please do not bring your homework here without showing us your attempt and following the 8 rules for getting help from the community. https://www.sololearn.com/Blog/38/8-simple-rules-to-get-help-from-the-community
Thanks and happy coding.