New course! Every coder should learn Generative AI!
Try a free lesson0
Can anyone help me do this code
#write a python programe to create a file studentdata.txt read the following information as a input from the user,and write it into a file. #student name #cgpa #rank #line format of a file <5-N>#<R-N>#<#CGPA> #write atleast 10 to 15 student details in the file answer the following questions #1 extract names of top 3 students #2 extract top 3 cgpa's count how many students got cpga 7.5 and above # extract all details of top cgpa student and least cgpa students https://sololearn.com/discuss/3266266/?ref=app
1 Answer
+ 3
Please don't attach something which isn't relevant to your question.
What have you done? Can you share your code so far? Why doesn't it work?
Maybe reading some of these will help, or help us to help you:
https://sololearn.com/compiler-playground/Wek0V1MyIR2r/?ref=app
https://sololearn.com/compiler-playground/WZ8lkR6gTex6/?ref=app
https://sololearn.com/compiler-playground/W0uW3Wks8UBk/?ref=app